How to get menu items details of MenuStrip?

adi06

New member
Joined
Sep 10, 2012
Messages
1
Programming Experience
Beginner
Hi all,

I have an empty Menustrip on a parent main form, and when a child container form is maximized, the menustrip1 of child form is merged to frmMain.menustrip1.
File:
New
Edit
Delete
Exit
i want to get the all four menu items names/text.

basically i have a contentMenuStrip on child form. which i want to populate from that frmMain.menuStrip.

I am quite new to vb and .net. So i hope some one can help me with example code.
Thanks in anticipation.
 
You don't need to have two separate menus. Simply create the one ContextMenuStrip. You can use it as you normally would and you can also assign it to the DropDown property of another menu item to make it act as a sub-menu too.
 
Back
Top