Beispiel #1
0
 public int SetStatusForToolStripItems(ToolStripItemCollection items)
 {
     var ms = new MenuStatusSetter(subMenu_Popup, item_Click);
     return ms.SetStatus(new ToolStripItemAdapter(items), target);
 }
Beispiel #2
0
 public int SetStatusForMenuItems(IList menuItems)
 {
     var ms = new MenuStatusSetter(subMenu_Popup, item_Click);
     return ms.SetStatus(new MenuItemAdapter(menuItems), target);
 }