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(); }
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(); }