コード例 #1
0
        private void backButton_Click(object sender, RoutedEventArgs e)
        {
            var setupdWindow = new SingleGameSetupView(ViewModelFactory);

            setupdWindow.Show();
            Close();
        }
コード例 #2
0
 private void LoadSingleGame(GameSelectorViewModel vm)
 {
     vm.LoadDatabaseForSingleGame();
     Dispatcher.Invoke(() =>
     {
         vm.ToggleLoading();
         var singleGame = new SingleGameSetupView(ViewModelFactory);
         singleGame.Show();
         Close();
     });
 }