コード例 #1
0
 private void CargarComboSedesDestino()
 {
     try
     {
         DataTable dtSedes = new HCSoft.POS.Sucursales().Listar();
         new UI().CargarCombo(dtSedes, this.cmbSucursalDestino);
     }
     catch (Exception e)
     {
         MessageBox.Show("Se ha provocado un error al  intentar cagar el combo de sedes", "Información",
                         MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
コード例 #2
0
 private void CargarComboSedes()
 {
     try
     {
         DataTable datos = new HCSoft.POS.Sucursales().Listar();
         //new HCSoft.UI().CargarCombo(datos, this.ComboSede);
     }
     catch (Exception e)
     {
         new Log(Global.log).GuardaError("error al cargar combo sedes", e);
         MessageBox.Show("se ha provocado un error al cargar el combo sedes", "Información", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }