Beispiel #1
0
        private void Bt_snake_and_ladders_Click(object sender, EventArgs e)
        {
            this.Hide();
            Program.GameChoice = false;
            Snake_and_ladders game = new Snake_and_ladders(this, return_back);

            game.Show();
        }
Beispiel #2
0
 private void BT_New_game_Click(object sender, EventArgs e)
 {
     if (Program.GameChoice == true)
     {
         Reversi NewGame = new Reversi(GameBack, return_back);
         NewGame.Show();
     }
     else
     {
         Snake_and_ladders NewGame = new Snake_and_ladders(GameBack, return_back);
         NewGame.Show();
     }
     GameEnd.Close();
     this.Close();
 }