Пример #1
0
        private bool OnModifyThroughPointsWithMouse(IPropertyEntry sender, int index)
        {
            GeneralGeoPointAction gpa = new GeneralGeoPointAction(bSpline.GetThroughPoint(index), bSpline);

            gpa.UserData.Add("Mode", "ThroughPoint");
            gpa.UserData.Add("Index", index);
            gpa.GeoPointProperty  = sender as GeoPointProperty;
            gpa.SetGeoPointEvent += new CADability.Actions.GeneralGeoPointAction.SetGeoPointDelegate(OnSetThroughPoint);
            Frame.SetAction(gpa);
            return(false);
        }