public void Back() { MainMenu mainMenu = Window.Current.Content as MainMenu; if (mainMenu == null) { mainMenu = new MainMenu(); Window.Current.Content = mainMenu; } }
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; } }