Beispiel #1
0
        private void hard_Click(object sender, RoutedEventArgs e)
        {
            MainWindow3 MainWindow3 = new MainWindow3();

            MainWindow3.Show();
            this.Close();
        }
Beispiel #2
0
 private void Click_Yes(object sender, RoutedEventArgs e)
 {
     if (check == "easy")
     {
         MainWindow MainWindow = new MainWindow();
         MainWindow.Show();
         Game.MainWindow a = new MainWindow();
     }
     else if (check == "medium")
     {
         MainWindow2 MainWindow2 = new MainWindow2();
         MainWindow2.Show();
         Game.MainWindow2 a = new MainWindow2();
     }
     else if (check == "hard")
     {
         MainWindow3 MainWindow3 = new MainWindow3();
         MainWindow3.Show();
         Game.MainWindow3 a = new MainWindow3();
     }
     this.Close();
 }