Form.ActivateMdiChild(Form) 方法

定义

激活窗体的 MDI 子级。

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)

参数

form
Form

要激活的子窗体。

注解

form如果参数已是活动的 MDI 子窗体,则ActivateMdiChild该方法只会返回。 如果 form 不是 null,则将它设置为活动的 MDI 子窗体。

无论参数是否 formnull 参数, ActivateMdiChildMdiChildActivate 引发事件。

适用于

另请参阅