Creates a submenu item and attaches it to the ToolStripItemCollection of the
existing item.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public ToolStripMenuItem CreateSubMenu( ToolStripMenuItem item, string label )
Parameters
- item
- Type: System.Windows.Forms ToolStripMenuItem
The parent ToolStripMenuItem containing a ToolStripItemCollection on the DropDownItems property.
- label
- Type: System String
The text of the menu item.
Return Value
The new menu item.See Also