Rediger

Del via


Application.RaiseIdle(EventArgs) Method

Definition

Raises the Idle event in hosted scenarios.

public:
 static void RaiseIdle(EventArgs ^ e);
public static void RaiseIdle (EventArgs e);
static member RaiseIdle : EventArgs -> unit
Public Shared Sub RaiseIdle (e As EventArgs)

Parameters

e
EventArgs

The EventArgs objects to pass to the Idle event.

Remarks

This method is used when hosting Windows Forms in another environment, such as an unmanaged application. You should call RaiseIdle when the hosting application enters an idle state. This enables some Windows Forms controls and components to do important background work while the user is not interacting with the application.

Applies to

See also