Пример #1
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if ((string)comboBox1.SelectedItem == "8x8")
     {
         parennt.gameStarted = false;
         parennt.repaintt(8);
         this.Close();
     }
     else if ((string)comboBox1.SelectedItem == "10x10")
     {
         parennt.gameStarted = false;
         parennt.repaintt(10);
         this.Close();
     }
     else
     {
         parennt.gameStarted = false;
         parennt.repaintt(12);
         this.Close();
     }
 }