ComponentOne Menus and Toolbars for WinForms
SetC1ContextMenu Method

C1.Win.C1Command.4 Assembly > C1.Win.C1Command Namespace > C1CommandHolder Class : SetC1ContextMenu Method
The control or NotifyIcon for which to set the context menu.
The context menu to attach to the control.
Sets a context menu contained within the C1CommandHolder.
Syntax
'Declaration
 
Public Sub SetC1ContextMenu( _
   ByVal control As System.Object, _
   ByVal value As C1ContextMenu _
) 
public void SetC1ContextMenu( 
   System.object control,
   C1ContextMenu value
)

Parameters

control
The control or NotifyIcon for which to set the context menu.
value
The context menu to attach to the control.
See Also

Reference

C1CommandHolder Class
C1CommandHolder Members