WinForm MDI动态加载form
frm.MdiParent = this;
//frm.WindowState = FormWindowState.Maximized;
frm.Dock = DockStyle.Fill; //设置为ChildForm和MainForm一起拉伸
frm.FormBorderStyle = FormBorderStyle.None;
this.Client_Event += new Message_Event(frm.OnClientEvent);
frm.m_Operator = m_Operator;
return frm;
//frm.WindowState = FormWindowState.Maximized;
frm.Dock = DockStyle.Fill; //设置为ChildForm和MainForm一起拉伸
frm.FormBorderStyle = FormBorderStyle.None;
this.Client_Event += new Message_Event(frm.OnClientEvent);
frm.m_Operator = m_Operator;
return frm;