Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e) // button1 = restart button
 {
     restart();
     CountUp.Stop();
     Seconds_count = 0;
     CountUp.Start();
 }
Ejemplo n.º 2
0
        private void CountUp_Tick(object sender, EventArgs e)
        {
            ShowSeconds.Text = Seconds_count.ToString() + " Seconds";
            Seconds_count++;

            if (m_Count == 8)
            {
                CountUp.Stop();
            }
        }