Breyta

Deila með


Form.ActivateMdiChild(Form) Method

Definition

Activates the MDI child of a form.

protected:
 void ActivateMdiChild(System::Windows::Forms::Form ^ form);
protected void ActivateMdiChild (System.Windows.Forms.Form form);
protected void ActivateMdiChild (System.Windows.Forms.Form? form);
member this.ActivateMdiChild : System.Windows.Forms.Form -> unit
Protected Sub ActivateMdiChild (form As Form)

Parameters

form
Form

The child form to activate.

Remarks

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.

Applies to

See also