[]
        
(Showing Draft Content)

Merging Menu Items

To merge the links from the current menu with the links in the child form's menu, use the MergeCommandLinks method:

To write code in Visual Basic

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

To write code in C#

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

See Also

Modifying the Appearance of the Menus