SHARE
TWEET

Untitled

a guest Aug 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void timer1_Tick(object sender, EventArgs e)
  2.     {
  3.         tiempo--;
  4.         timer1.Start();
  5.         label3.Text = Convert.ToString(tiempo);
  6.         if (tiempo == 0)
  7.         {
  8.             timer1.Stop();
  9.             MessageBox.Show("El tiempo se ha agotado.");
  10.         }
  11.     }
  12.      
  13. tiempo = 10;
  14. timer1.Stop();
  15. timer1.Start();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top