日期:2014-05-17 浏览次数:20784 次
delegate void SetFormParent(Form f,Form f1); private void SetForm(Form fparent,Form fchild) { if (fchild.InvokeRequired) { SetFormParent d = new SetFormParent(SetForm); this.Invoke(d, new object[] { fparent,fchild }); } else { fchild.MdiParent = fparent; } }