public bool MouseUpFloatItem(MouseEventArgs e) { bool Result = true; if (FMouseDownIndex >= 0) { HCFloatItem vFloatItem = FFloatItems[FMouseDownIndex]; MouseEventArgs vMouseArgs = new MouseEventArgs(e.Button, e.Clicks, e.X - vFloatItem.Left, e.Y - vFloatItem.Top, e.Delta); vFloatItem.MouseUp(vMouseArgs); } else { Result = false; } return(Result); }