// Update currentObj to reflect dragging to the given location. void DragTo(PointF location) { currentObj = (RectCourseObj)startingObj.Clone(); currentObj.MoveHandle(handleDragging, location); }