Click or drag to resize

ControlPanelTaskDialog Class

Dialog for executing control panel items.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsCommonDialog
        Jam.Shell.DialogsControlPanelTaskDialog

Namespace: Jam.Shell.Dialogs
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public class ControlPanelTaskDialog : CommonDialog

The ControlPanelTaskDialog type exposes the following members.

Constructors
 NameDescription
Public methodControlPanelTaskDialog Contructor for creating a ControlPanelTaskDialog instance.
Top
Properties
 NameDescription
Public propertyControlPanelItem Gets or sets the control panel item that should be shown.
Public propertyControlPanelItemGuid Gets or sets the control panel item that should be shown.
Top
Methods
 NameDescription
Public methodReset Resets the properties of a common dialog box to their default values.
(Overrides CommonDialogReset)
Protected methodRunDialogExecutes the dialog.
(Overrides CommonDialogRunDialog(IntPtr))
Top
Remarks

Setting value of ControlPanelItem to a ControlPanelItem value you can specify which dialog will be displayed.

Not that not all values are supported on any supported Windows version.

IMPORTANT: Bitness of calling application must match OS bitness to show control panel items. Otherwise nothing is shown! Ensure application is targeted architecture "Any CPU".

See Also