Exemple #1
0
 private void btnAceptar_Click(object sender, EventArgs e)
 {
     try
     {
         Validar.FormularioDescuento(tboxCodigoDescuento, tboxNombre, tboxPorcentaje, "Agregar");
         unDescuentoNegocio.AgregarDescuento(unDescuentoNegocio.CargarDescuento(tboxCodigoDescuento, tboxNombre, tboxPorcentaje));
     }
     catch (Exception Excepcion)
     {
         MessageBox.Show(Excepcion.Message);
     }
 }