ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / C1CommandHolder Class / SetC1Command Method

In This Topic
    SetC1Command Method (C1CommandHolder)
    In This Topic
    Set the command (of the type C1Command or inherited) invoked when the control's default (or, if there is none, Click) event fires.
    Syntax
    'Declaration
     
    Public Sub SetC1Command( _
       ByVal control As System.Object, _
       ByVal value As C1Command _
    ) 
    public void SetC1Command( 
       System.object control,
       C1Command value
    )

    Parameters

    control
    value
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also