将下面的代码随便放到主窗体的任何一个地方
protected override CreateParams CreateParams //解决MDI闪屏 { get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; return cp; } }