Handles recurring events in the application.
[Visual Basic] Public Class Timer Inherits Component Implements ISupportInitialize [C#] public class Timer : Component, ISupportInitialize [C++] public __gc class Timer : public Component, ISupportInitialize [JScript] public class Timer extends Component, ISupportInitialize
Whenever the Timer control's Enabled property is set to true and the Interval property is greater than 0, the Timer event is triggered at intervals based on the Interval property setting. The Timer event is where you can place code that you want to run at regular intervals. The Timer is not visible at run time.
Namespace: System.Timers
Assembly: System.Timers.dll