/// <summary>
        /// Initializes a new instance of the <see cref="TransparentControlSmartTagActionList"/> class.
        /// </summary>
        /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param>
        public TransparentControlSmartTagActionList(IComponent component) : base(component)
        {
            this.colUserControl = component as TransparentControl;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
 /// <summary>
 /// Receives a call when the mouse first enters the control.
 /// </summary>
 protected override void OnMouseLeave()
 {
     base.OnMouseLeave();
     control      = (TransparentControl)(this.Control);
     control.drag = false;
 }
 /// <summary>
 /// Receives a call in response to the left mouse button being pressed and held while over the component.
 /// </summary>
 /// <param name="x">The x position of the mouse in screen coordinates.</param>
 /// <param name="y">The y position of the mouse in screen coordinates.</param>
 protected override void OnMouseDragBegin(int x, int y)
 {
     base.OnMouseDragBegin(x, y);
     control      = (TransparentControl)(this.Control);
     control.drag = true;
 }