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