Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            SetInvisible();

            InfinityChess.WinForms.MainOffline frm = new InfinityChess.WinForms.MainOffline();

            frm.Show();
        }
Esempio n. 2
0
 public static void OpenDatabaseForm(MainOffline mainOffline, Game game)
 {
     if (mainOffline.DatabaseForm == null)
     {
         mainOffline.DatabaseForm = new DatabaseForm(mainOffline, game);
         mainOffline.DatabaseForm.Show();
     }
     else
     {
         mainOffline.DatabaseForm.Visible = true;
         mainOffline.DatabaseForm.Focus();
     }
 }
Esempio n. 3
0
 public DatabaseForm(MainOffline mainForm, Game game)
 {
     MainForm  = mainForm;
     this.Game = game;
     InitializeComponent();
 }