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 ();

Returns

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

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9