예제 #1
0
 private void btnPlay_Click(object sender, EventArgs e)
 {
     WordSet();
     foreach (RadioButton rdo in grpChoose.Controls)
     {
         if (rdo.Checked)
         {
             player2 = rdo.Text;
             this.Hide();
             frmGame frmG = new frmGame(player1, player2, wordSet);
             frmG.ShowDialog();
             this.Close();
         }
     }
 }