示例#1
0
        private void playAgain_Click(object sender, EventArgs e)
        {
            StartScreen startScreen = new StartScreen();                //This hides this screen and goes to the start screen to select difficulty

            this.Hide();
            startScreen.ShowDialog();
        }
示例#2
0
        private void btnQuit_Click(object sender, EventArgs e)
        {
            GameBoard   gameBoard   = new GameBoard(1);
            StartScreen startScreen = new StartScreen();                //This closes all game boards

            gameBoard.Close();
            startScreen.Close();
            this.Close();
        }