private bool OnModifyPolesWithMouse(IPropertyEntry sender, int index) { GeneralGeoPointAction gpa = new GeneralGeoPointAction(bSpline.GetPole(index), bSpline); gpa.UserData.Add("Mode", "Pole"); gpa.UserData.Add("Index", index); gpa.GeoPointProperty = sender as GeoPointProperty; gpa.SetGeoPointEvent += new CADability.Actions.GeneralGeoPointAction.SetGeoPointDelegate(OnSetPole); Frame.SetAction(gpa); return(false); }