Пример #1
0
        private void ConfirmSelection(object sender, RoutedEventArgs e)
        {
            GUISelection.replayDataFolderLocation = Path.Combine("Parser", GUISelection.fileName + "/");

            NavigationService   navService          = NavigationService.GetNavigationService(this);
            ReplayHeroSelection replayHeroSelection = new ReplayHeroSelection();

            navService.Navigate(replayHeroSelection);
        }
Пример #2
0
        private void GoBack(object sender, RoutedEventArgs e)
        {
            NavigationService navService = NavigationService.GetNavigationService(this);

            if (GUISelection.fileName == null)
            {
                GameTypeSelection gameTypeSelection = new GameTypeSelection();
                navService.Navigate(gameTypeSelection);
            }
            else
            {
                ReplayHeroSelection replayHeroSelection = new ReplayHeroSelection();
                navService.Navigate(replayHeroSelection);
            }
        }