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
Visual Basic |
Dim parent As Control
Dim dialog As Form
DialogHelper.Show(parent, dialog)
|
Syntax
Visual Basic |
Public Shared Sub Show ( _
parent As Control, _
dialog As Form _
)
|
C# |
public static void Show (
Control parent,
Form dialog
)
|
C++ |
public:
static void Show (
Control^ parent,
Form^ dialog
)
|
J# |
public static void Show (
Control parent,
Form dialog
)
|
JScript |
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