如何去除MDI父窗体下子窗体的标题栏

实现代码:

FormSearch childForm = new FormSearch();
childForm.MdiParent = this;
childForm.FormBorderStyle = FormBorderStyle.None;
childForm.ControlBox = false;
childForm.MaximizeBox = false;
childForm.MinimizeBox = false;
childForm.Show();
childForm.Dock = DockStyle.Fill; 

posted @ 2015-04-11 19:04  A_wen  阅读(394)  评论(0编辑  收藏  举报