Example #1
0
        //after creating the game, open the game to edit it
        private void bwInsertGame_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            frmEditGame createGameForm = new frmEditGame(newGame);

            Hide();
            createGameForm.ShowDialog();
            Close();
        }
Example #2
0
        private void bwLoadGameToEdit_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            UseWaitCursor = false;
            frmEditGame createGameForm = new frmEditGame(selectedGame);

            Hide();
            createGameForm.ShowDialog();
            bwLoadGames.RunWorkerAsync();
            Show();
        }