Occurs when the specified timer interval has elapsed and the timer is enabled.
The following declaration shows the syntax for a method that handles the Timer event.
[Visual Basic] Private Sub TimerName_Timer( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void TimerName_Timer( object sender, EventArgs e ); [C++] private: void TimerName_Timer( Object* sender, EventArgs* e ); [JScript] private TimerName_Timer( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
hg
Timer Class | Timer MembersTopic | System.WinForms Namespace