I have a Form with a MenuStrip on it. I have a ToolStripContainer on my form with a UserControl on the ContentPanel. If I add a MenuStrip to that UserControl, how can I make that merge with the form's MenuStrip?
Printable View
I have a Form with a MenuStrip on it. I have a ToolStripContainer on my form with a UserControl on the ContentPanel. If I add a MenuStrip to that UserControl, how can I make that merge with the form's MenuStrip?
Merging menus and tool bars is for MDI forms only. If you want to do it in your setup you'll have to do it yourself.
Is there any methods or properties for manual merging or am I going to have to check for ToolStripMenuItems in the new MenuStrip and add that to the current 1?
I thought my previous post was pretty clear. If you aren't using MDI then you can't merge menus and tool bars. You'll have to manually add each menu and tool bar item, be it a clone of the original or the original itself, removed from its original parent. You could create custom classes to handle it all and then just drop those classes in where needed.
You were. I was just wondering if the MenuStrips had any members that would merge the menus that I could override or something.Quote:
Originally Posted by jmcilhinney
Thanks