Adds an event handler for the System.WinForms.Application.Idle event for the current thread.
[Visual Basic] Public Shared Sub AddOnIdle( _ ByVal handler As EventHandler _ ) [C#] public static void AddOnIdle( EventHandler handler ); [C++] public: static void AddOnIdle( EventHandler* handler ); [JScript] public static function AddOnIdle( handler : EventHandler );
An System.WinForms.Application.Idle event handler is specific to a thread.
Application Class | Application Members | System.WinForms Namespace