private void CargarCombos() { try { ListaTipoCobro = busTipoCobro.Get_List_Cobro_Tipo_x_RetFte(); ListaTipoCobro.AddRange(busTipoCobro.Get_List_Cobro_Tipo_RetIva()); } catch (Exception) { throw; } }
void Combos() { try { cxcTipoBus = new cxc_cobro_tipo_Bus(); cmbRetFuente.Properties.DataSource = cxcTipoBus.Get_List_Cobro_Tipo(); cmbBanco.Properties.DataSource = banBus.Get_List_Banco(); cmbRetFuente.Properties.DataSource = cxcTipoBus.Get_List_Cobro_Tipo_x_RetFte(); cmbRetIva.Properties.DataSource = cxcTipoBus.Get_List_Cobro_Tipo_RetIva(); cmbCobroTipo.Properties.DataSource = cxcTipoBus.Get_List_Cobro_Tipo(); } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }