Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
I have 2 ContextMenuStrips already created. cmsMenu1 and cmsMenu2. Is there a way to make a cmsMenu3 that is cmsMenu1 + cmsMenu2?
I know i can do this with a dropdown menu
but can it be done without the dropdown and have both cmsMenu1 and cmsMenu2 straight down in the first level?
I know i can do this with a dropdown menu
VB.NET:
cmsMenu3.Items.Clear()
cmsMenu3.Items.Add("Menu 1")
DirectCast(cmsMenu3.Items(0), ToolStripMenuItem).DropDown = cmsMenu1
cmsMenu3.Items.Add("Menu 2")
DirectCast(cmsMenu3.Items(1), ToolStripMenuItem).DropDown = cmsMenu2
but can it be done without the dropdown and have both cmsMenu1 and cmsMenu2 straight down in the first level?
Last edited: