System.Windows.Forms.Timer Members

The members of System.Windows.Forms.Timer are listed below.

See Also: Inherited members from System.ComponentModel.Component

Public Constructors

Initializes a new instance of the System.Windows.Forms.Timer class.

Initializes a new instance of the System.Windows.Forms.Timer class together with the specified container.

Public Properties

Enabledbool.

Gets or sets whether the timer is running.

Intervalint.

Gets or sets the time, in milliseconds, before the Timer.Tick event is raised relative to the last occurrence of the Timer.Tick event.

Tagobject.

Gets or sets an arbitrary string representing some type of user state.

Public Methods

Start()

Starts the timer.

Stop()

Stops the timer.

override
ToString() : string

Returns a string that represents the System.Windows.Forms.Timer.

Protected Methods

override
Dispose(bool)

Disposes of the resources, other than memory, used by the timer.

OnTick(EventArgs)

Raises the Timer.Tick event.

Public Events

Tick

Occurs when the specified timer interval has elapsed and the timer is enabled.