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