コード例 #1
0
 private void CargarTiposocios()
 {
     try
     {
         List <string> tipossocios = new List <string>();
         tipossocios = LogicaSocios.obtenerTiposSocios();
         for (int i = 0; i < tipossocios.Count; i++)
         {
             cmbTiposocio.Items.Add(tipossocios[i]);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }