Пример #1
0
 /// <summary>
 /// Binds a DC values object to the record and the control.
 /// </summary>
 /// <param name="dcValues">The bound DC values object.</param>
 /// <param name="record">The record holding the DC values references.</param>
 /// <param name="controlId">The identifier of the control that should be bound to the DC values object.</param>
 internal void ApplyDcValues(DcValues dcValues, IRecord record, int controlId)
 {
     record.AddDcValuesReference(controlId, dcValues.getId());
     Task.SetDataControlValuesReference(controlId, dcValues.getId());
 }