How to uses a ToolStripContainer whith Dock=Fill on a MDI parent?

天大地大妈咪最大 提交于 2019-12-13 18:15:28

问题


How to uses a ToolStripContainer whith Dock=Fill on a MDI parent???... When I drop a ToolStripContainer on a MDI parent and assing fill to a property Dock it hide all the MDI children.

thanks...


回答1:


try adding the MDI child form to the ToolStripContainer:

toolStripContainer1.ContentPanel.Controls.Add(frm);



回答2:


the MDILayout doesn't work on the child forms



来源:https://stackoverflow.com/questions/1703959/how-to-uses-a-toolstripcontainer-whith-dock-fill-on-a-mdi-parent

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!