Using the reusable menu bar
To use your reusable menu part in your Investment application, open the Composition Editor for the MainWindow. Select Add Part from the Options menu. In the dialog displayed, type Menu Bar in the Part name field and MainMenuBar in the Class name field. Ensure Part is selected in the Part type field, and then select OK. Add your reusable menu bar to an open space of the free-form surface.
The last step is making the connections. Connect your reusable menu bar's menuBar attribute to the Window part's menu attribute. Then, connect your reusable menu bar's clicked and selectionChanged events to the appropriate parts. For example, connect the menu bar's customerInfoClicked event to the Customer Information view wrapper's openwidget action.
Last modified date: 01/29/2015