// Methods public CollapsibleContainerActionListOld(CollapsibleContainerBaseDesigner owner) : base(owner.Component) { this.owner = owner; this.ownerComponent = owner.Component as Component; if (this.ownerComponent != null) { PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this.ownerComponent)["Collapsed"]; if (descriptor != null) { bool flag = (bool)descriptor.GetValue(this.ownerComponent); this.actionName = flag?"Uncollapse":"Collapse"; } } }
// Methods public CollapsibleContainerActionListOld(CollapsibleContainerBaseDesigner owner) : base(owner.Component) { this.owner=owner; this.ownerComponent=owner.Component as Component; if(this.ownerComponent!=null) { PropertyDescriptor descriptor=TypeDescriptor.GetProperties(this.ownerComponent)["Collapsed"]; if(descriptor!=null) { bool flag=(bool)descriptor.GetValue(this.ownerComponent); this.actionName=flag?"Uncollapse":"Collapse"; } } }