private void RestartButton_Click(object sender, EventArgs e) { game.Restart(); elapsedTime = TimeSpan.Zero; elapsedTimeLabel.Text = elapsedTime.ToString(); bombCountLabel.Text = "Мин:" + game.BombCount; gameFieldPictureBox.Refresh(); }
private void button1_Click(object sender, EventArgs e) { game.Restart(); }