Pampour

Things to Remember

Dec 5th, 2013
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. /* Setting up a Timer */
  2. timer1 = new Timer();
  3. timer1.Tick += new EventHandler(timer1_Tick);
  4. timer1.Interval = 25; // in miliseconds
  5. timer1.Start();
  6.  
  7. /* Simulating a click on a PictureBox */
  8. pictureBox1_Click(this.pictureBox1, null);
Advertisement
Add Comment
Please, Sign In to add comment