Occurs when the application has finished processing and is about to enter the idle state.
The following declaration shows the syntax for a method that handles the Idle event.
[Visual Basic] Private Sub ApplicationName_Idle( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void ApplicationName_Idle( object sender, EventArgs e ); [C++] private: void ApplicationName_Idle( Object* sender, EventArgs* e ); [JScript] private ApplicationName_Idle( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
If you have any tasks that you need to perform before the thread becomes idle, you should attach them to this event.
Application Class | Application MembersTopic | System.WinForms Namespace