Ejemplo n.º 1
0
        public MainPage()
        {
            InitializeComponent();
            App.FirstVisit = true;
            SetGlobalColors();
            InitAppBars();
            recentList.ItemsSource = App.RecentList;



            prog           = new ProgressIndicator();
            prog.IsVisible = true;
            SystemTray.SetForegroundColor(this, App.Foreground_Color);
            SystemTray.SetBackgroundColor(this, App.Background_Color);
            SystemTray.SetProgressIndicator(this, prog);
            settings = new AppSettings();

            ModelView model = new ModelView();

            App.ViewModel = model;
        }
Ejemplo n.º 2
0
        public MainPage()
        {
            InitializeComponent();
            App.FirstVisit = true;
            SetGlobalColors();
            InitAppBars();
            recentList.ItemsSource = App.RecentList;

            prog = new ProgressIndicator();
            prog.IsVisible = true;
            SystemTray.SetForegroundColor(this, App.Foreground_Color);
            SystemTray.SetBackgroundColor(this, App.Background_Color);
            SystemTray.SetProgressIndicator(this, prog);
            settings = new AppSettings();

            ModelView model = new ModelView();
            App.ViewModel = model;
        }