ActivateMdiChild Method
Collapse the table of content
Expand the table of content

Form.ActivateMdiChild Method (Form)


Activates the MDI child of a form.

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

protected void ActivateMdiChild(
	Form form


Type: System.Windows.Forms.Form

The child form to activate.

If the form parameter is already the active MDI child form, then the ActivateMdiChild method simply returns. If form is not null, then it is set to be the active MDI child form.

Whether the form parameter is null or not, ActivateMdiChild raises the MdiChildActivate event.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft