예제 #1
0
파일: EndScreen.cs 프로젝트: dylant44/Final
        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
파일: EndScreen.cs 프로젝트: dylant44/Final
        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();
        }