Exemplo n.º 1
0
 public void buttonOnePlayer()
 {
     game_model.SetStatusApplication(StatusApplication.game);
     if (settingForm != null)
     {
         settingForm.Close();
     }
     settingForm = new SettingForm(this, TypeSettingForm.humanVSbot);
     settingForm.Show();
 }
Exemplo n.º 2
0
        public static SettingForm Instance(Mainform frmMain)
        {
            if (sForm == null)
            {
                sForm = new SettingForm(frmMain);
            }

            else
            {
                sForm.Close();
                sForm = null;
                sForm = new SettingForm(frmMain);
            }

            return(sForm);
        }