public override void SetProperty(DesignerPropertyInfo property, object obj)
        {
            base.SetProperty(property, obj);

            DesignerBoolean boolAtt = property.Attribute as DesignerBoolean;

            if (boolAtt != null)
            {
                checkBox.Checked = (bool)property.Property.GetValue(obj, null);
            }
        }
        public override void SetProperty(DesignerPropertyInfo property, object obj)
        {
            base.SetProperty(property, obj);

            DesignerBoolean boolAtt = property.Attribute as DesignerBoolean;

            if (boolAtt != null)
            {
                checkBox.Checked = (bool)property.Property.GetValue(obj, null);
            }

            DesignerFlexibleBoolean flexBooleanAtt = property.Attribute as DesignerFlexibleBoolean;

            if (flexBooleanAtt != null)
            {
                FlexiblePropertyBoolean flexProp = (FlexiblePropertyBoolean)property.Property.GetValue(obj, null);
                checkBox.Checked = flexProp.Value;
            }
        }