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?
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?