public void SetPoint2(double x, double y) { Bezier b = CurrentBezier; b.Point2 = new PointD(x, y); CurrentBezier = b; CalcDeviation(); }