//The constructor associates the control with the smart tag list.
        public HMIWaterPumpActionList(IComponent component)
            : base(component)
        {
            _HMIWaterPump = component as HMIWaterPump;

            // Cache a reference to DesignerActionUIService,
            // so the DesigneractionList can be refreshed.
            designerActionUISvc = GetService(typeof(DesignerActionUIService))
                                  as DesignerActionUIService;
        }
        public HMIWaterPump()
        {
            HMIWaterPump waterPump = this;

            base.Resize += waterPump._Resize;

            this.TextRectangle  = new Rectangle();
            this.sfCenter       = new StringFormat();
            this.sfCenterBottom = new StringFormat();
            this.sfRight        = new StringFormat();
            this.sfLeft         = new StringFormat();
            this.RefreshImage();
        }