示例#1
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();
 }
示例#2
0
 private void Bt_continue_Click(object sender, EventArgs e)
 {
     GameEnd.Close();
     this.Close();
     return_back.Show();
 }