toolStripContainer在mdi窗体中遮蔽mdi子窗体的解决办法
toolStripContainer在父窗体停靠以后会遮蔽mdi的子窗体
在toolStripContainer.ContentPanel上面放panel,然后pannel设置在父窗体中停靠
在show窗体的时候代码如下
frmShowPic fsp = new frmShowPic();
fsp.MdiParent = this;
fsp.Parent = panel1;
fsp.Show();
同时这个方法也实用于使mdi子窗体不会被mdi容器中的控件遮蔽

浙公网安备 33010602011771号