public void CargarGrid() { try { gridControlmodulo.DataSource = bus_modulo.Get_list_Modulo(); } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void cargar_combos() { try { lst_modulo = bus_modulo.Get_list_Modulo(); cmb_modulo.Properties.DataSource = lst_modulo; } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show("Error comunicarse con Sistemas " + ex.Message + " ", "Sistemas", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void frmIn_AdministradorReporte_Inventario_Load(object sender, EventArgs e) { try { lstModulo = busModulo.Get_list_Modulo("INV"); ucGe_Admin.FormMain = this.MdiParent; ucGe_Admin.set_UCGe_Administrador_Reporte(lstModulo); } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void frmBA_AdministradorReporte_Load(object sender, EventArgs e) { try { lstModulo = busModulo.Get_list_Modulo("BAN"); ucGe_Admin.FormMain = this.MdiParent; ucGe_Admin.set_UCGe_Administrador_Reporte(lstModulo); } catch (Exception ex) { string NameMetodo = System.Reflection.MethodBase.GetCurrentMethod().Name; MessageBox.Show(param.Get_Mensaje_sys(enum_Mensajes_sys.Error_comunicarse_con_sistemas) + ex.Message + " ", param.Nombre_sistema, MessageBoxButtons.OK, MessageBoxIcon.Error); Log_Error_bus.Log_Error(NameMetodo + " - " + ex.ToString()); } }
private void cargar_combos() { try { ListPeriodo = BusPeriodo.Get_List_Periodo(param.IdEmpresa, ref MensajeError); cmb_periodo.Properties.DataSource = ListPeriodo; lst_modulo = bus_modulo.Get_list_Modulo(true); } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void Cargar_Combos() { try { ListInfo_Modulo = Bus_Modulo.Get_list_Modulo(); cmb_modulo.Properties.DataSource = ListInfo_Modulo; } catch (Exception ex) { string NameMetodo = System.Reflection.MethodBase.GetCurrentMethod().Name; NameMetodo = NameMetodo + " - " + ex.ToString(); Log_Error_bus.Log_Error(NameMetodo + " - " + ex.ToString()); MessageBox.Show(NameMetodo + " " + param.Get_Mensaje_sys(enum_Mensajes_sys.Error_comunicarse_con_sistemas) , param.Nombre_sistema, MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void loadDataPanel() { try { cp_orden_pago_tipo_Bus bus_TipoPago = new cp_orden_pago_tipo_Bus(); List <cp_orden_pago_tipo_Info> lista_pagoTipo = new List <cp_orden_pago_tipo_Info>(); lista_pagoTipo = bus_TipoPago.Get_List_orden_pago_tipo_x_Empresa(param.IdEmpresa); List <ct_Plancta_Info> listPlanCta = new List <ct_Plancta_Info>(); ct_Plancta_Bus BusPlanCta = new ct_Plancta_Bus(); listPlanCta = BusPlanCta.Get_List_Plancta_x_ctas_Movimiento(param.IdEmpresa, ref MensajeError); cmbEstadoAproba.DataSource = BusestadoApro.Get_List_orden_pago_estado_aprob(); generarBinding(); gridControlTipoOrden_x_Empresa.DataSource = BindingList_x_orden_pago_tipo_x_empresa; gridControlForma.DataSource = BindingList_orden_pago_formapago; gridControlEstado.DataSource = BindingList_orden_pago_estado_aprob; gridControlTransaccion.DataSource = BindingList_TipoTransac; gridCmbCodModulo.DataSource = moduloBus.Get_list_Modulo(); gridCmbTipoTransaccion.DataSource = BusTipoTransac.Get_List_trans_a_generar_x_FormaPago_OP(); cmbIdTipoCaja.DataSource = cajaMoviBus.Get_list_Caja_Movimiento_Tipo(ref MensajeError); cmb_ctacble_x_tipo_op.DataSource = listPlanCta; cmb_ctaCble_Acre.DataSource = listPlanCta; cmb_tipo_cbte_op.DataSource = List_Cbtecble_tipo; cmb_tipo_cbte_op_x_anu.DataSource = List_Cbtecble_tipo; } catch (Exception ex) { Log_Error_bus.Log_Error(ex.ToString()); MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public FrmGe_sis_reporte() { try { InitializeComponent(); event_FrmGe_sis_reporte_FormClosing += FrmGe_sis_reporte_event_FrmGe_sis_reporte_FormClosing; gridLookUpEdit_modulo.Properties.DataSource = Modulo_B.Get_list_Modulo(); //cmbTabla.Properties.DataSource=rpt_B.Get_List_Tablas(); lstTipo.Add("RESULTADO"); lstTipo.Add("BALANCE"); cmbTipo.Properties.DataSource = lstTipo; cmbTipo.Enabled = false; } catch (Exception ex) { string NameMetodo = System.Reflection.MethodBase.GetCurrentMethod().Name; NameMetodo = NameMetodo + " - " + ex.ToString(); Log_Error_bus.Log_Error(NameMetodo + " - " + ex.ToString()); MessageBox.Show(NameMetodo + " " + param.Get_Mensaje_sys(enum_Mensajes_sys.Error_comunicarse_con_sistemas) , param.Nombre_sistema, MessageBoxButtons.OK, MessageBoxIcon.Error); } }