Пример #1
0
        public RibbonBooleanGroupCapsule(string name, string text, string booleanText, RibbonTabCapsule parent)
            : base(name, text, parent, LayoutOrientation.vertical)
        {
            booleanGroupCapsules[text] = this;
            Values   = new Dictionary <string, RibbonCommandValue>();
            Booleans = new Dictionary <string, RibbonCommandBoolean>();

            this.text               = text;
            this.booleanText        = text;
            IsEnabledCommandBoolean = new RibbonCommandBoolean(false);
        }
        public RibbonBooleanGroupCapsule(string name, string text, string booleanText, RibbonTabCapsule parent)
            : base(name, text, parent, LayoutOrientation.vertical)
        {
            booleanGroupCapsules[text] = this;
            Values = new Dictionary<string, RibbonCommandValue>();
            Booleans = new Dictionary<string, RibbonCommandBoolean>();

            this.text = text;
            this.booleanText = text;
            IsEnabledCommandBoolean = new RibbonCommandBoolean(false);
        }