| Visual Basic (Declaration) | |
|---|---|
Sub SetContextMenu( _ ByVal commandId As CommandID, _ ByVal cm As ContextMenuStrip _ ) | |
| C# | |
|---|---|
void SetContextMenu( CommandID commandId, ContextMenuStrip cm ) | |
Parameters
- commandId
- CommandID of the context menu.
- cm
- ContextMenuStrip to combine with the intrinsic context menu.