c# winform mdi子窗体始终填满父容器并随父容器改变大小

ChildForm f = new ChildForm();
f.MdiParent = this;
f.Parent = this.splitContainer1.Panel2;
f.Show();
f.Dock = DockStyle.Fill;  //实现此功能的语句

posted @ 2012-12-11 20:33  striiiiing  阅读(2107)  评论(0编辑  收藏  举报