Ejemplo 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;
            }
        }
Ejemplo 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;
            }
        }
Ejemplo n.º 3
0
 public ViewMain()
 {
     InitializeComponent();
     DataContext = new MainVM();
 }
Ejemplo n.º 4
0
 public ViewMain()
 {
     InitializeComponent();
     DataContext = new MainVM();
 }