1 out of 1 rated this helpful - Rate this topic

Introduction to the Windows Forms Timer Component

Visual Studio .NET 2003

The Windows Forms Timer is a component that raises an event at regular intervals. This component is designed for a Windows Forms environment. If you need a timer that is suitable for a server environment, see Introduction to Server-Based Timers.

The length of the intervals is defined by the Interval property, whose value is in milliseconds. When the component is enabled, the Tick event is raised every interval. This is where you would add code to be executed. For more information, see Running Procedures at Set Intervals With the Windows Forms Timer Component. The key methods of the Timer component are Start and Stop, which turn the timer on and off. When the timer is switched off, it resets; there is no way to pause a Timer component.

See Also

Timer Component (Windows Forms) | Timer Class

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.