NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Application.AddOnIdle

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
);

Parameters

handler
An EventHandler that represents the method that will handle the System.WinForms.Application.Idle event.

Remarks

An System.WinForms.Application.Idle event handler is specific to a thread.

See Also

Application Class | Application Members | System.WinForms Namespace