コード例 #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);
            }
        }