예제 #1
0
 private void ClearData()
 {
     HumanVsComputer.Hide();
     HumanVsHuman.Hide();
     Credits.Hide();
     Settings.Hide();
     Back.Show();
 }
예제 #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";
         }
     }
 }