Esempio n. 1
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            DataContext = new MainVM();

            if (App.Current.ShowRateApp)
            {
                NavigationService.Navigate(new Uri("/Views/ViewRateApp.xaml", UriKind.Relative));
                App.Current.ShowRateApp = false;
            }

            if (App.Current.ShowGoPro)
            {
                GoPro(null, null);
                App.Current.ShowGoPro = false;
            }
        }
Esempio n. 2
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            DataContext = new MainVM();

            if (App.Current.ShowRateApp)
            {
                NavigationService.Navigate(new Uri("/Views/ViewRateApp.xaml", UriKind.Relative));
                App.Current.ShowRateApp = false;
            }

            if (App.Current.ShowGoPro)
            {
                GoPro(null, null);
                App.Current.ShowGoPro = false;
            }
        }
Esempio n. 3
0
 public ViewMain()
 {
     InitializeComponent();
     DataContext = new MainVM();
 }
Esempio n. 4
0
 public ViewMain()
 {
     InitializeComponent();
     DataContext = new MainVM();
 }