Stats

99 Contributors: 5 Monday, October 31, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Timers

Syntax

  • myTimer.Interval - sets how often the "Tick" event is called (in milliseconds)
  • myTimer.Enabled - boolean value that sets the timer to be enabled / disabled
  • myTimer.Start() - Starts the timer.
  • myTimer.Stop() - Stops the timer.

Remarks

If using Visual Studio, Timers can be added as a control directly to your form from the toolbox.

Related Examples