示例#1
0
 private void txtVD_Leave(object sender, EventArgs e)
 {
     try
     {
         Funciones.ValidarNumero(txtVD, "Por favor ingrese un número.", "Gestión - Remito");
         ActualizarMontos();
     }
     catch { }
 }
示例#2
0
 private void btnAceptar_Click(object sender, EventArgs e)
 {
     Funciones.ValidarNumero(txtCantidad, "Por favor ingrese un número.", "Gestión - Remito");
     Funciones.ValidarNumero(txtPrecio, "Por favor ingrese un número.", "Gestión - Remito");
     if (txtCantidad.Text == "0")
     {
         txtCantidad.Text = "1";
     }
     if (destino == "principal")
     {
         ((frmPrincipal)principal).CargarDatosCantidadPrecio(txtCantidad.Text, txtPrecio.Text);
     }
     else
     {
         ((frmBMRemito)principal).CargarDatosCantidadPrecio(txtCantidad.Text, txtPrecio.Text);
     }
     principal.Enabled = true;
     this.Visible      = false;
 }
示例#3
0
 private void txtVD_Leave(object sender, EventArgs e)
 {
     Funciones.ValidarNumero(txtVD, "Por favor ingrese un número.", "Gestión - Actualizar Cliente");
 }
示例#4
0
 private void txtPrecio_Leave(object sender, EventArgs e)
 {
     Funciones.ValidarNumero(txtPrecio, "Por favor ingrese un número.", "Gestión - Agregar Producto");
 }