Constructor MenuBar
MenuBar()
Initializes a new instance of the MenuBar.
public MenuBar()
MenuBar(MenuBarItem[])
Initializes a new instance of the MenuBar class with the specified set of toplevel menu items.
public MenuBar(MenuBarItem[] menus)
Parameters
menus
MenuBarItem[]Individual menu items; a null item will result in a separator being drawn.