private void RollTimer_Tick(object sender, EventArgs e) { counter--; if (counter == 0) { RollTimer.Stop(); SystemSounds.Exclamation.Play(); MessageBox.Show("Roll", "Roll"); } TimeLeftLabel.Text = counter.ToString() + " seconds"; }
private void materialFlatButton2_Click(object sender, EventArgs e) { RollTimer.Stop(); TimeLeftLabel.Text = "NONE"; }