示例#1
0
 public IComConMenuItem AddMenuItem(string pHeader, string pDisplayName)
 {
     IComConMenuItem newItem = new ComConMenuItem(pHeader, pDisplayName);
     MenuItems.Add(newItem);
     return newItem;
 }
示例#2
0
 public IComConMenuItem AddMenuItem(string pHeader)
 {
     IComConMenuItem newItem = new ComConMenuItem(pHeader);
     MenuItems.Add(newItem);
     return newItem;
 }