コード例 #1
0
 private void Frame3_GoForward_Clicked(object sender, RoutedEventArgs e)
 {
     if (MyFrame3.CanGoForward)
     {
         MyFrame3.GoForward();
     }
     else
     {
         MessageBox.Show("There is nowhere to go to");
     }
 }
コード例 #2
0
 private void Frame3_GoBack_Clicked(object sender, RoutedEventArgs e)
 {
     if (MyFrame3.CanGoBack)
     {
         MyFrame3.GoBack();
     }
     else
     {
         MessageBox.Show("There is nowhere to go back");
     }
 }