Esempio n. 1
0
        //MARK: ToolStrip MenuItem Click Event Handlers
        private void newGameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCreateGame createGameForm = new frmCreateGame();

            Hide();
            Close();
            createGameForm.ShowDialog();
        }
Esempio n. 2
0
        private void btnCreateGame_Click(object sender, EventArgs e) //Create Game Button
        {
            DisableAllControls();
            frmCreateGame createGameForm = new frmCreateGame();

            Hide();
            createGameForm.ShowDialog();
            if (!bwLoadGames.IsBusy)
            {
                bwLoadGames.RunWorkerAsync();
            }
            Show();
        }