//MARK: ToolStrip MenuItem Click Event Handlers private void newGameToolStripMenuItem_Click(object sender, EventArgs e) { frmCreateGame createGameForm = new frmCreateGame(); Hide(); Close(); createGameForm.ShowDialog(); }
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(); }