Esempio n. 1
0
 private void btnGenerateField_Click(object sender, System.EventArgs e)
 {
     DisableShipButtons();
     playerField.Reset();
     playerField.GenerateField();
     DrawPlayerField();
     playerFieldArea.Enabled = false;
     btnStart.Enabled        = true;
 }