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