Modifier

Partager via


ServiceInstallerDialog.Main Method

Definition

Begins running a standard application message loop and displays the service account form.

public:
 static void Main();
[System.STAThread]
public static void Main ();
[<System.STAThread>]
static member Main : unit -> unit
Public Shared Sub Main ()
Attributes

Remarks

This method is equivalent to calling Application.Run on a new ServiceInstallerDialog form; it is typically used for testing purposes.

Call ShowDialog on the ServiceInstallerDialog form to display the dialog box in your application.

Applies to

See also