# CommandControl Command

Get started with Menus and Toolbars for WinForms. Create versatile menus and docking/floating toolbars. See more in documentation here.

## Content



[C1CommandControl](/componentone/docs/win/online-menus-toolbar/) is a command which can be associated with an arbitrary control. This functionality is provided by the class **C1CommandControl**, derived from [C1Command](/componentone/docs/win/online-menus-toolbar/). Controls can be dragged from the Visual Studio Toolbox and dropped onto a [C1MainMenu](/componentone/docs/win/online-menus-toolbar/) or [C1ToolBar](/componentone/docs/win/online-menus-toolbar/). This automatically creates a **C1CommandControl**, connects it to the dropped control, and adds a link to the new command to the toolbar. This command allows at most one command link to be connected to it.


> type=note
> **Note**: A small control can be added inside it, but it does not handle large controls such as containers.

For more information about using [C1CommandControl](/componentone/docs/win/online-menus-toolbar/), see [Adding an Arbitrary Control to the Toolbar](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsforw2/toolbartasks/addinganarbitrarycon).

## See Also

[CommandMdiList Command](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsover/commonobjectsusedtoc/c1commandmdilistcomm)