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