protected void btnAceptar_Click(object sender, EventArgs e) { try { Caja c = new Caja(); c.Descripcion = txtDescripcion.Text; c.Fecha = DateTime.Now; c.FondoInicial = Convert.ToDecimal(txtFondoInicial.Text); c.Idusuario = ApplicationSesion.ActiveUser.Idusuario; c.Abrir(); ApplicationSesion.ActiveCaja = c; mostrarMensaje("Caja abierta con Exito"); } catch (Exception ex) { mostrarExcepcion(ex.Message); } }