I have a MDIparent Forma and which has some mdichild forms in it. Can you help me some how put the mdichilds in Tabs like google chrome , firefox , IE , Opera ...
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There's a good article on MDI forms with TabControls here: http://www.codeproject.com/KB/cs/MDITabBrowsing.aspx
回答2:
There's nothing really to be gained by using MDI once you have tabs.
MDI is designed to handle multiple forms residing inside the same container. However, with tabs each form is in a different container. I can't see any benefit to using MDI in this scenario and would avoid it.
回答3:
Try something like this:
myForm.TopLevel=false;
myForm.TopMost=false;
tabPage1.Controls.Add(myForm);