Suppose you have a MenuStrip with a File --> Open menu on a form.
Why if you add the "open" ToolStripMenuItem object to a ContextMenuStrip, it disappears from the MenuStrip?
There is a way to show at the same time the Open1ToolStripMenuItem in the FileMenu and in the contex menu?
Thanks
Why if you add the "open" ToolStripMenuItem object to a ContextMenuStrip, it disappears from the MenuStrip?
VB.NET:
Friend WithEvents FileToolStripMenuItem As ToolStripMenuItem
Friend WithEvents Open1ToolStripMenuItem As ToolStripMenuItem
.....
Me.FileToolStripMenuItem = New ToolStripMenuItem
Me.Open1ToolStripMenuItem = New ToolStripMenuItem
Me.FileToolStripMenuItem.DropDownItems.AddRange(New ToolStripItem() {Me.[B][COLOR="red"]Open1ToolStripMenuItem[/COLOR][/B]})
Me.ContextMenuStrip1.Items.AddRange(New ToolStripItem() {Me.[B][COLOR="Red"]Open1ToolStripMenuItem[/COLOR][/B]})
There is a way to show at the same time the Open1ToolStripMenuItem in the FileMenu and in the contex menu?
Thanks