DialogContainerWithToolbar.ShowDialog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows a dialog.
public:
System::Windows::Forms::DialogResult ShowDialog();
public System.Windows.Forms.DialogResult ShowDialog ();
override this.ShowDialog : unit -> System.Windows.Forms.DialogResult
Public Function ShowDialog () As DialogResult
Returns
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.