ZylTimer.NET

TickEventHandler Delegate

Represents the method that will handle the Tick event of the timer.

[Visual Basic]
Public Delegate Sub TickEventHandler( _
   ByVal Object As Object, _
   ByVal EventArgs As EventArgs _
)
[C#]
public delegate void TickEventHandler(
   Object sender,
   EventArgs e
);

Parameters

Object
The source of the event.
EventArgs
An EventArgs that contains the event data.

Remarks

When you create a TickEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Requirements

Namespace: ZylTimer

Assembly: ZylTimer (in ZylTimer.dll)

See Also

ZylTimer Namespace