Share via


DialogHelper.Show Method (Control, Form)

Displays a modeless dialog box that is owned by the specified parent, and ensures that the dialog box is run in the proper user interface thread.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim parent As Control
Dim dialog As Form

DialogHelper.Show(parent, dialog)

Syntax

'Declaration
Public Shared Sub Show ( _
    parent As Control, _
    dialog As Form _
)
public static void Show (
    Control parent,
    Form dialog
)
public:
static void Show (
    Control^ parent, 
    Form^ dialog
)
public static void Show (
    Control parent, 
    Form dialog
)
public static function Show (
    parent : Control, 
    dialog : Form
)

Parameters

  • parent
    [in] System.Windows.Forms.Control object for the parent.
  • dialog
    [in] System.Windows.Forms.Form object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

DialogHelper Class
DialogHelper Members
Microsoft.ConfigurationManagement.AdminConsole Namespace