P
parez
Hi,
I build the menu strip using the designer.I want the context menu of
the form to be same as the of children of one of the top leven Menu
strip item.
Items["actionToolStripMenuItem"] gives me a ToolStripItem object but
it does not have a hierarchy, no parents no children.
How do i do this in c#?
I tried
this.ContextMenuStrip.Items.AddRange(Menu.Items.Find("actionToolStripMenuItem",true));
but that line removes it from the menustrip and adds it to context
menu
TIA
I build the menu strip using the designer.I want the context menu of
the form to be same as the of children of one of the top leven Menu
strip item.
Items["actionToolStripMenuItem"] gives me a ToolStripItem object but
it does not have a hierarchy, no parents no children.
How do i do this in c#?
I tried
this.ContextMenuStrip.Items.AddRange(Menu.Items.Find("actionToolStripMenuItem",true));
but that line removes it from the menustrip and adds it to context
menu
TIA