Occurs when the application finishes processing and is about to enter the idle state.
[Visual Basic]
Public Shared Event Idle As EventHandler
[C#]
public static event EventHandler Idle;
[C++]
public: static __event EventHandler* Idle;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type EventArgs.
Remarks
If you have tasks that you must perform before the thread becomes idle, attach them to this event.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Application Class | Application Members | System.Windows.Forms Namespace