Ejemplo n.º 1
0
 private void txtPresentacion2_SelectedIndexChanged(object sender, EventArgs e)
 {
     txtPrecio.Text = servicios.VerPrecioPorPresentacion(txtPresentacion2.Text).ToString();
     txtProducto.Items.Clear();
     if (txtCaracteristica.Text != String.Empty)
     {
         List <string> productosPorPresentacion = servicios.verProductosPorConfiguracion(txtPresentacion2.Text, txtCaracteristica.Text);
         if (productosPorPresentacion != null)
         {
             for (int i = 0; i < productosPorPresentacion.Count; i++)
             {
                 txtProducto.Items.Add(productosPorPresentacion[i]);
             }
         }
     }
 }
 private void txtPresentacion_SelectedIndexChanged_1(object sender, EventArgs e)
 {
     txtPrecio.Text = servicios.VerPrecioPorPresentacion(txtPresentacion.Text).ToString();
 }