OnTimer


Summary

Called when the timer interval has elapsed.

Syntax

protected virtual void OnTimer()

Example 1

protected override void OnStart()
{
    Timer.Start(1);//start timer with 1 second interval
}
protected override void OnTimer()
{
    ChartObjects.DrawText("time", Time.ToString("HH:mm:ss"), StaticPosition.TopLeft);
}