ServiceInstallerDialog.Main Method ()


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

Namespace:   System.ServiceProcess.Design
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public static void Main()

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.

.NET Framework
Available since 1.1
Return to top