ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / C1CommandHolder Class / CreateCommandHolder Method
Form for which the command holder is created.

In This Topic
    CreateCommandHolder Method (C1CommandHolder)
    In This Topic
    Creates a command holder and initializes it.
    Syntax
    'Declaration
     
    Public Shared Function CreateCommandHolder( _
       ByVal form As System.Windows.Forms.Control _
    ) As C1CommandHolder
    public static C1CommandHolder CreateCommandHolder( 
       System.Windows.Forms.Control form
    )

    Parameters

    form
    Form for which the command holder is created.

    Return Value

    The command holder created.
    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