Exemplo n.º 1
0
        public int SetStatusForMenuItems(IList menuItems)
        {
            var x  = new ContextMenuStrip();
            var ms = new MenuStatusSetter(subMenu_Popup, item_Click);

            return(ms.SetStatus(new MenuItemAdapter(menuItems), target));
        }
Exemplo n.º 2
0
        public int SetStatusForToolStripItems(ToolStripItemCollection items)
        {
            var ms = new MenuStatusSetter(subMenu_Popup, item_Click);

            return(ms.SetStatus(new ToolStripItemAdapter(items), target));
        }