protected override void OnMouseUp(MouseEventArgs e)
 {
     base.OnMouseUp(e);
     if (_dragged != null)
     {
         _dragged.EndDrag();
     }
     _dragged = null;
     Invalidate();
 }