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