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