NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Timer.Start

Starts the timer.

[Visual Basic]
Public Sub Start()
[C#]
public void Start();
[C++]
public: void Start();
[JScript]
public function Start();

Remarks

Calling this method is identical to assigning a value of true to the Enabled property.

Example [Visual Basic]

The following example create a simple timer, sets the interval to 3 seconds, and starts it.

[Visual Basic]

'Create a timer.
Shared myTimer As WinForms.Timer
myTimer = New WinForms.Timer

'Set the timer interval to 3 seconds and start it.
myTimer.Interval = 3000

'Start the timer
myTimer.Start()

See Also

Timer Class | Timer Members | System.WinForms Namespace