What I had before was the ContextMenu in the toolbox but no MainMenu. So I
added a ContextMenu and then ignoring
"Do not modify it using the code editor."
I changed ContextMenu to MainMenu and got what I wanted.
HOWEVER
This is in a UserControl and it appears that UserControl doesn't support
MainMenu because in the designer it shows the mainMenu at the bottom but
will not let me edit it.
Why do I want a MainMenu?
Because the MainMenu has a MenuClone which I use to create the ContextMenu
and to support a property the returns a clone so the form containing the
usercontrol can merge that menu with its own.
This way if I have two usercontrols, for example, on a form the form can
support all those menu items without doing anything except merging the
menus.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.