This documentation is archived and is not being maintained.
Form.RemoveOwnedForm Method
.NET Framework 1.1
Removes an owned form from this form.
[Visual Basic] Public Sub RemoveOwnedForm( _ ByVal ownedForm As Form _ ) [C#] public void RemoveOwnedForm( Form ownedForm ); [C++] public: void RemoveOwnedForm( Form* ownedForm ); [JScript] public function RemoveOwnedForm( ownedForm : Form );
Parameters
- ownedForm
- A Form representing the form to remove from the list of owned forms for this form.
Remarks
The form assigned to the owner form remains owned until the RemoveOwnedForm method is called. In addition to removing the owned form from the list of owned form, this method also sets the owner form to a null reference (Nothing in Visual Basic).
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Form Class | Form Members | System.Windows.Forms Namespace | AddOwnedForm | Owner | OwnedForms
Show: