Stats

99 Contributors: 5
2016-10-31
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Timers

Download c# eBook

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