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