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

            Hide();
            Close();
            createGameForm.ShowDialog();
        }
Exemple #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();
        }