Edit

Share via


ComponentEditorForm.ShowForm Method

Definition

Shows the form. The form will have no owner window.

Overloads

ShowForm()

Shows the form. The form will have no owner window.

ShowForm(Int32)

Shows the specified page of the specified form. The form will have no owner window.

ShowForm(IWin32Window)

Shows the form with the specified owner.

ShowForm(IWin32Window, Int32)

Shows the form and the specified page with the specified owner.

ShowForm()

Shows the form. The form will have no owner window.

public:
 virtual System::Windows::Forms::DialogResult ShowForm();
public virtual System.Windows.Forms.DialogResult ShowForm ();
abstract member ShowForm : unit -> System.Windows.Forms.DialogResult
override this.ShowForm : unit -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm () As DialogResult

Returns

One of the DialogResult values indicating the result code returned from the dialog box.

See also

Applies to

ShowForm(Int32)

Shows the specified page of the specified form. The form will have no owner window.

public:
 virtual System::Windows::Forms::DialogResult ShowForm(int page);
public virtual System.Windows.Forms.DialogResult ShowForm (int page);
abstract member ShowForm : int -> System.Windows.Forms.DialogResult
override this.ShowForm : int -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm (page As Integer) As DialogResult

Parameters

page
Int32

The index of the page to show.

Returns

One of the DialogResult values indicating the result code returned from the dialog box.

See also

Applies to

ShowForm(IWin32Window)

Shows the form with the specified owner.

public:
 virtual System::Windows::Forms::DialogResult ShowForm(System::Windows::Forms::IWin32Window ^ owner);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window owner);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window? owner);
abstract member ShowForm : System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
override this.ShowForm : System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm (owner As IWin32Window) As DialogResult

Parameters

owner
IWin32Window

The IWin32Window to own the dialog.

Returns

One of the DialogResult values indicating the result code returned from the dialog box.

See also

Applies to

ShowForm(IWin32Window, Int32)

Shows the form and the specified page with the specified owner.

public:
 virtual System::Windows::Forms::DialogResult ShowForm(System::Windows::Forms::IWin32Window ^ owner, int page);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window owner, int page);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window? owner, int page);
abstract member ShowForm : System.Windows.Forms.IWin32Window * int -> System.Windows.Forms.DialogResult
override this.ShowForm : System.Windows.Forms.IWin32Window * int -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm (owner As IWin32Window, page As Integer) As DialogResult

Parameters

owner
IWin32Window

The IWin32Window to own the dialog.

page
Int32

The index of the page to show.

Returns

One of the DialogResult values indicating the result code returned from the dialog box.

See also

Applies to