I've got a Windows Forms menu bar, with one menu item. Below that is 1 Sub Item.
Let's say File → Open.
I'm trying to get a reference to the sub menu, but it is giving me a hard time.
ToolStripItem main = menuMain.Items["File"]; //This is fine.
ToolStripMenuItem sub = main.DropDownItems(0);
//Toolstrip item does not contain an extension for DropDownItems ??
How can I get a reference to the sub menu item?