public AddControlPoint ( |
||
control | ||
Результат | Id |
// Add a new control point to the all controls collection. Doesn't add it to any courses, even for a start/finish control. public static Id<ControlPoint> AddControlPoint(EventDB eventDB, ControlPointKind kind, string code, PointF location, float orientation) { ControlPoint newControlPoint = new ControlPoint(kind, code, location); newControlPoint.orientation = orientation; return eventDB.AddControlPoint(newControlPoint); }