System.Windows.Forms.CommandBarItemCollection.AddCheckBox C# (CSharp) Méthode

AddCheckBox() public méthode

public AddCheckBox ( string text, Keys shortcut ) : System.Windows.Forms.CommandBarCheckBox
text string
shortcut Keys
Résultat System.Windows.Forms.CommandBarCheckBox
        public CommandBarCheckBox AddCheckBox(string text, Keys shortcut)
        {
            CommandBarCheckBox checkBox = this.AddCheckBox(text);
            checkBox.Shortcut = shortcut;
            return checkBox;
        }

Same methods

CommandBarItemCollection::AddCheckBox ( Image image, string text ) : System.Windows.Forms.CommandBarCheckBox
CommandBarItemCollection::AddCheckBox ( Image image, string text, Keys shortcut ) : System.Windows.Forms.CommandBarCheckBox
CommandBarItemCollection::AddCheckBox ( string text ) : System.Windows.Forms.CommandBarCheckBox