System.Windows.Forms.CommandBarItemCollection.AddMenu C# (CSharp) Метод

AddMenu() публичный Метод

public AddMenu ( Image image, string text, EventHandler dropDownHandler ) : System.Windows.Forms.CommandBarMenu
image Image
text string
dropDownHandler EventHandler
Результат System.Windows.Forms.CommandBarMenu
        public CommandBarMenu AddMenu(Image image, string text, EventHandler dropDownHandler)
        {
            CommandBarMenu menu = this.AddMenu(text);
            menu.Image = image;
            menu.DropDown += dropDownHandler;
            return menu;
        }

Same methods

CommandBarItemCollection::AddMenu ( Image image, string text ) : System.Windows.Forms.CommandBarMenu
CommandBarItemCollection::AddMenu ( string text ) : System.Windows.Forms.CommandBarMenu
CommandBarItemCollection::AddMenu ( string text, EventHandler dropDownHandler ) : System.Windows.Forms.CommandBarMenu