private void button1_Click(object sender, EventArgs e) // button1 = restart button { restart(); CountUp.Stop(); Seconds_count = 0; CountUp.Start(); }
private void CountUp_Tick(object sender, EventArgs e) { ShowSeconds.Text = Seconds_count.ToString() + " Seconds"; Seconds_count++; if (m_Count == 8) { CountUp.Stop(); } }