private void OnSetThroughPoint(GeneralGeoPointAction sender, GeoPoint NewValue) { int Index = (int)sender.UserData.GetData("Index"); bSpline.SetThroughPoint(Index, NewValue); }