how to clone a menustrip?

G

Guest

I have to implement a function that pop up a context menu which is the same
as the main menustrip in the form. but when I create the context menu using
the items of the main menustrip, I found that those items are snatched from
the menustrip by context menu. For example:
ContextMenuStrip.Items.AddRange(MenuStrip.Items); so I think I have to clone
the items for context menu. How to do it? I remember there is a method
CloneMenu() in MainMenu class, but what is the correspoding method in
MenuStrip class?
 

Ask a Question

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.

Ask a Question

Top