Method OnTick
OnTick(EventArgs)
Raises the Tick event.
protected virtual void OnTick(EventArgs e)
Parameters
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.