TimerTick


Summary

Occurs when the interval elapses

Syntax

public event Action TimerTick

Example 1

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