private void btnBuscar_Click(object sender, EventArgs e) { BusquedaRecibo ventanabusqueda = new BusquedaRecibo() { }; ventanabusqueda.Show(this); this.Hide(); }
private void btnGuardar_Click(object sender, EventArgs e) { ReciboDAO rec = new ReciboDAO(); recibo.Fecha = Fecha.Value.ToString("yyyy-MM-dd");; recibo.De = txtRecibDe.Text; recibo.Monto = Convert.ToInt32(txtMonto.Text); recibo.Descripcion = txtDescripcion.Text; rec.Modificar(recibo); BusquedaRecibo ventanabusqueda = new BusquedaRecibo() { }; ventanabusqueda.Show(this); this.Hide(); }