How to uses a ToolStripContainer whith Dock=Fill o

2019-08-10 22:23发布

问题:

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



标签: winforms mdi