using System.Windows.Forms;
private void SetMdiParent(Form frame)
{
frame.MdiParent = this; // 设置此窗体的当前多文档界面 (MDI) 父窗体。
frame.ControlBox = false; // 隐藏该窗体的标题栏中的控件框。
frame.FormBorderStyle = FormBorderStyle.None; // 窗体无边框。
frame.WindowState = FormWindowState.Maximized; // 窗体最大化。
frame.Text = null;
frame.Show();
}