Exemple #1
0
 private void P1BtnClick_begin(object sender, RoutedEventArgs e)
 {
     if (NavigationService.CanGoForward)
     {
         NavigationService.GoForward();
     }
     else
     {
         IntroPage_2 page2 = new IntroPage_2();
         NavigationService.Navigate(page2);
     }
 }
Exemple #2
0
 private void P3BtnClick_back(object sender, RoutedEventArgs e)
 {
     if (NavigationService.CanGoBack)
     {
         NavigationService.GoBack();
     }
     else
     {
         IntroPage_2 page2 = new IntroPage_2();
         NavigationService.Navigate(page2);
     }
 }