Ejemplo n.º 1
0
 private void ButtonForward_Click(object sender, RoutedEventArgs e)
 {
     if (FocusFrame.CanGoForward)    // test if can go forward
     {
         FocusFrame.GoForward();
     }
 }
Ejemplo n.º 2
0
 private void ButtonBack_Click(object sender, RoutedEventArgs e)
 {
     if (FocusFrame.CanGoBack)   // test if can go back
     {
         FocusFrame.GoBack();
     }
 }
Ejemplo n.º 3
0
 public MainPage()
 {
     this.InitializeComponent();
     FocusFrame.Navigate(typeof(HomeGUI));   // set initial frame
 }
Ejemplo n.º 4
0
 private void NavAboutGUI_Tapped(object sender, TappedRoutedEventArgs e)
 {
     FocusFrame.Navigate(typeof(AboutGUI));
 }
Ejemplo n.º 5
0
 private void NavBasicCalculatorGUI_Tapped(object sender, TappedRoutedEventArgs e)
 {
     FocusFrame.Navigate(typeof(CalculatorGUI));
 }
Ejemplo n.º 6
0
 private void ButtonRefresh_Click(object sender, RoutedEventArgs e)
 {
     FocusFrame.UpdateLayout();  // refresh the GUI
 }