Example #1
0
 public void Back()
 {
     MainMenu mainMenu = Window.Current.Content as MainMenu;
     if (mainMenu == null)
     {
         mainMenu = new MainMenu();
         Window.Current.Content = mainMenu;
     }
 }
Example #2
0
 private void Map_BackRequested(object sender, BackRequestedEventArgs e)
 {
     MainMenu mainMenu = Window.Current.Content as MainMenu;
     if (mainMenu == null)
     {
         mainMenu = new MainMenu();
         Window.Current.Content = mainMenu;
     }
 }