static void caret_TickHandler(object sender, GraphicsTimerTaskEventArgs e) { if (currentTextBox != null) { currentTextBox.SwapCaretState(); e.NeedUpdate = 1; } else { //Console.WriteLine("no current textbox"); } }
public void InvokeHandler(GraphicsTimerTaskEventArgs args) { this.tickHandler(this, args); }