Naming Menus
Go Up to Building Menus
As with all components, when you add a menu component to the form, the form gives it a default name; for example, MainMenu1. You can give the menu a more meaningful name that follows language naming conventions.
The menu name is added to the form's type declaration, and the menu name then appears in the Component list.