private void newGameBarItem_Click(object sender, EventArgs e) { // Pause the game for the Exit Dialog gameTimer.Stop(); if (AbandonGame()) { if (game.IsGameStarted) { game.QuitGame(); game = new BlocksGame(); } nextPieceForm.BGame = game; game.StartGame(); gridBoard.Invalidate(); gridBoard.Update(); SetPauseBarItemStatus(); } // Restart (or start) the game, if necessary if (game.IsGameRunning) { gameTimer.Start(); } }