# Merging Menu Items

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

## Content



To merge the links from the current menu with the links in the child form's menu, use the [MergeCommandLinks](/componentone/docs/win/online-menus-toolbar/) method:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Me.c1CommandHolder1.MergeCommandLinks(Me.c1MainMenu1.CommandLinks, Me.c1MainMenu1.CommandLinks,
_form2.c1MainMenu1.CommandLinks)
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
this.c1CommandHolder1.MergeCommandLinks(this.c1MainMenu1.CommandLinks, this.c1MainMenu1.CommandLinks, 
_form2.c1MainMenu1.CommandLinks);
```

DOC-DETAILS-TAG-CLOSE

## See Also

[Modifying the Appearance of the Menus](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsforw2/menutasks/modifyingtheappearan)