Table of Contents

Method Stop

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Stop()

Stops the timer.

public void Stop()

Remarks

You can also stop the timer by setting the Enabled property to false. A Timer object may be enabled and disabled multiple times within the same application session.

Calling Start() after you have disabled a Timer by calling Stop() will cause the Timer to restart the interrupted interval. If your Timer is set for a 5000-millisecond interval, and you call Stop() at around 3000 milliseconds, calling Start() will cause the Timer to wait 5000 milliseconds before raising the Tick event.