System.Windows.Forms.Application.Run Method

Begins running a standard application message loop on the current thread, with an System.Windows.Forms.ApplicationContext.

Syntax

public static void Run (ApplicationContext context)

Parameters

context
An System.Windows.Forms.ApplicationContext in which the application is run.

Remarks

The message loop runs until Application.Exit or Application.ExitThread is called or the Application.ThreadExit event is raised on the context object.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0