protected virtual void SetUnlinkedGridValues(Control control) { SortedBindingList <InputInvoiceInfo> invoices = Datos_Lineas.DataSource as SortedBindingList <InputInvoiceInfo>; InputInvoiceList list = InputInvoiceList.GetList(invoices); if (invoices != null) { list.UpdatePagoValues(_entity); } Datos_Lineas.DataSource = list.GetSortedList(); UpdateAllocated(); }