public Boolean SETINFO() { try { txtIdAnticipo.EditValue = SETINFO_.IdAnticipo; ucFa_Cliente.set_ClienteInfo(Convert.ToDecimal(SETINFO_.IdCliente)); dtpFecha.EditValue = SETINFO_.Fecha; txtObservacion.EditValue = SETINFO_.Observacion; cmbSucursal.set_SucursalInfo(SETINFO_.IdSucursal); colIco.Visible = true; cmbCaja.EditValue = SETINFO_.IdCaja; cxc_cobro_x_Anticipo_Bus cxccinfoBus = new cxc_cobro_x_Anticipo_Bus(); cobroAntiBininfo = new BindingList <cxc_cobro_x_Anticipo_Info>(cxccinfoBus.Get_List_cobro_x_Anticipo(param.IdEmpresa, Convert.ToInt32(txtIdAnticipo.EditValue), ref MensajeError)); calculo(); foreach (var item in cobroAntiBininfo) { item.chek = true; item.Ico = (Bitmap)imageList1.Images[0]; } gridControlcxc.DataSource = cobroAntiBininfo; return(true); } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return(false); } }