Ejemplo n.º 1
0
        public MainPage()
        {
            _initialised = false;
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null) ApplicationBar.MatchOverriddenTheme(); };

            viewModel = new MainPageModel();
            DataContext = viewModel;
            this.Loaded += new RoutedEventHandler(CallLoadFunctions);

            LastErrorTime = DateTime.MinValue;
            LastReloadTime = DateTime.MinValue;

            SetupRecoverDialogGestures();
        }
Ejemplo n.º 2
0
        public MainPage()
        {
            _initialised = false;
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null)
                                                              {
                                                                  ApplicationBar.MatchOverriddenTheme();
                                                              }
            };

            viewModel    = new MainPageModel();
            DataContext  = viewModel;
            this.Loaded += new RoutedEventHandler(CallLoadFunctions);

            LastErrorTime  = DateTime.MinValue;
            LastReloadTime = DateTime.MinValue;

            SetupRecoverDialogGestures();
        }