System.Windows.Forms.Design.IUIService Members

The members of System.Windows.Forms.Design.IUIService are listed below.

Public Properties

[read-only]
StylesIDictionary.

Gets the collection of styles that are specific to the host's environment.

Public Methods

CanShowComponentEditor(object) : bool

Indicates whether the component can display a System.Windows.Forms.Design.ComponentEditorForm.

GetDialogOwnerWindow() : System.Windows.Forms.IWin32Window

Gets the window that should be used as the owner when showing dialog boxes.

SetUIDirty()

Sets a flag indicating the UI has changed.

ShowComponentEditor(object, System.Windows.Forms.IWin32Window) : bool

Attempts to display a System.Windows.Forms.Design.ComponentEditorForm for a component.

ShowDialog(System.Windows.Forms.Form) : System.Windows.Forms.DialogResult

Attempts to display the specified form in a dialog box.

ShowError(Exception)

Displays the specified exception and information about the exception in a message box.

ShowError(string)

Displays the specified error message in a message box.

ShowError(Exception, string)

Displays the specified exception and information about the exception in a message box.

ShowMessage(string)

Displays the specified message in a message box.

ShowMessage(string, string)

Displays the specified message in a message box with the specified caption.

ShowMessage(string, string, System.Windows.Forms.MessageBoxButtons) : System.Windows.Forms.DialogResult

Displays the specified message in a message box with the specified caption and buttons to place on the dialog box.

ShowToolWindow(Guid) : bool

Displays the specified tool window.