예제 #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();
     });
 }