Beispiel #1
0
 private void Settings_Click(object sender, EventArgs e)
 {
     ClearData();
     OnePlayerNameTXT.Show();
     TwoPlayerNameTXT.Show();
     Save.Show();
 }
Beispiel #2
0
 private void BackToMenu()
 {
     HumanVsComputer.Show();
     HumanVsHuman.Show();
     Credits.Show();
     Settings.Show();
     Back.Hide();
     if (!CreditsLBL.IsDisposed)
     {
         CreditsLBL.Hide();
     }
     if (!OnePlayerNameTXT.IsDisposed)
     {
         OnePlayerNameTXT.Hide();
         TwoPlayerNameTXT.Hide();
         Save.Hide();
         if (!Save.Enabled)
         {
             Save.Enabled = true;
             Save.Text    = "Save";
         }
     }
 }