public void ChangeCoordinate(PointF p) { float diffX = p.X - lastLocation.X; float diffY = p.Y - lastLocation.Y; selection.ChangeCoordinate(ResizePoint.XParam, diffX, diffY); lastLocation = p; }