Exemplo n.º 1
0
 public Menu(string name, string label, IEnumerable <MenuItem> newItems)
 {
     this.Settings  = new MenuSettings();
     this.Name      = name;
     this.Label     = label;
     this.MenuItems = newItems;
 }
Exemplo n.º 2
0
 public MenuHandler()
 {
     current  = new Stack <string>();
     menus    = new SortedDictionary <string, Menu>();
     settings = new MenuSettings();
 }