Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void timer1_Tick(object sender, EventArgs e)
- {
- tiempo--;
- timer1.Start();
- label3.Text = Convert.ToString(tiempo);
- if (tiempo == 0)
- {
- timer1.Stop();
- MessageBox.Show("El tiempo se ha agotado.");
- }
- }
- tiempo = 10;
- timer1.Stop();
- timer1.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement