Table of Contents

Method OnTick

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

OnTick(EventArgs)

Raises the Tick event.

protected virtual void OnTick(EventArgs e)

Parameters

e EventArgs

An EventArgs that contains the event data. This is always Empty.

Remarks

This method is called for each timer tick. It calls any methods that are added through Tick. If you are inheriting from Timer, you can override this method.

When overriding OnTick(EventArgs) in a derived class, make sure that you call the base class's OnTick(EventArgs) method.