//创建其他窗体的实例对象 public void InitOtherForm() { m_LoginForm = new LoginForm(); m_LoginForm.MdiParent = this; m_RunForm = new RunForm(); m_RunForm.MdiParent = this; m_ManualDebugForm = new ManualDebugForm(); m_ManualDebugForm.MdiParent = this; m_SystemSetingForm = new SystemSetingForm(); m_SystemSetingForm.MdiParent = this; m_UserLimitsForm = new UserLimitsForm(); m_UserLimitsForm.MdiParent = this; }