System.Windows.Forms.Form.Show Method

Shows the form with the specified owner to the user.

Syntax

public void Show (IWin32Window owner)

Parameters

owner
Any object that implements System.Windows.Forms.IWin32Window and represents the top-level window that will own this form.

Remarks

You can use this method to display a non-modal form. When you use this method, the Form.Owner property of the form is set to owner. The non-modal form can use the Form.Owner property to get information about the owning form. Calling this method is identical to setting the Form.Owner property of the non-modal and then calling the Control.Show method.

Showing the form is equivalent to setting the Control.Visible property to true. After the Form.Show(IWin32Window) method is called, the Control.Visible property returns a value of true until the Control.Hide method is called.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0