System.Windows.Forms.Form.ActivateMdiChild Method

Activates the MDI child of a form.

Syntax

protected void ActivateMdiChild (Form form)

Parameters

form
The child form to activate.

Remarks

If the form parameter is already the active MDI child form, then the Form.ActivateMdiChild(Form) 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, Form.ActivateMdiChild(Form) raises the Form.MdiChildActivate event.

Requirements

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