Compartilhar via


DialogContainerWithToolbar.ShowDialog Method

Shows a dialog.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public Function ShowDialog As DialogResult
public DialogResult ShowDialog()

Return Value

Type: System.Windows.Forms.DialogResult
DialogResult .

Remarks

To show a dialog box and process messages from it, this method performs the following actions:

  • Gets the site from the private subclass, ShowDialogContainer.

  • Captures messages that originate in the dialog box by calling AddMessageFilter.

  • Removes the message filter by calling RemoveMessageFilter.

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

ShowDialog Overload

Microsoft.VisualStudio.Shell Namespace