編輯

共用方式為


IWindowsFormsEditorService.ShowDialog(Form) Method

Definition

Shows the specified Form.

public:
 System::Windows::Forms::DialogResult ShowDialog(System::Windows::Forms::Form ^ dialog);
public System.Windows.Forms.DialogResult ShowDialog (System.Windows.Forms.Form dialog);
abstract member ShowDialog : System.Windows.Forms.Form -> System.Windows.Forms.DialogResult
Public Function ShowDialog (dialog As Form) As DialogResult

Parameters

dialog
Form

The Form to display.

Returns

A DialogResult indicating the result code returned by the Form.

Remarks

This method displays the specified form.

Applies to

See also