/// <summary> /// Initializes a new instance of the <see cref="ZeroitMetroCheckBoxSmartTagActionList"/> class. /// </summary> /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param> public ZeroitMetroCheckBoxSmartTagActionList(IComponent component) : base(component) { this.colUserControl = component as ZeroitMetroCheckBox; // Cache a reference to DesignerActionUIService, so the // DesigneractionList can be refreshed. this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService; }
/// <summary> /// Initializes a new instance of the <see cref="MetroCheckBoxActionList"/> class. /// </summary> /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param> public MetroCheckBoxActionList(IComponent component) : base(component) { this.designerActionSvc = null; this._sep = (ZeroitMetroCheckBox)component; this.designerActionSvc = (DesignerActionUIService)this.GetService(typeof(DesignerActionUIService)); }