Exemple #1
0
        public MainPage()
        {
            this.InitializeComponent();
            var viewTitleBar = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar;

            viewTitleBar.BackgroundColor       = Windows.UI.Colors.ForestGreen;
            viewTitleBar.ButtonBackgroundColor = Windows.UI.Colors.ForestGreen;
            this.ViewModel = new ViewModels.TodoItemViewModel();
            db             = new Services.DBService();
        }
 public BlankPage1()
 {
     this.InitializeComponent();
     ViewModel = new ViewModels.TodoItemViewModel();
     db        = new Services.DBService();
 }