ZylIdleTimer.NET

CustomTimer.OnStopped Method 

Raises the Stopped event.

[Visual Basic]
Overridable Protected Sub OnStopped( _
   ByVal EventArgs As EventArgs _
)
[C#]
protected virtual void OnStopped(
   EventArgs e
);

Parameters

EventArgs
An EventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. The OnStopped method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnStopped in a derived class, be sure to call the base class's OnStopped method so that registered delegates receive the event.

See Also

CustomTimer Class | ZylIdleTimer Namespace