Form.ActivateMdiChild(Form) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.