Example #1
0
 private void filtros_button_Click(object sender, EventArgs e)
 {
     var frm = new HistorialVentasFiltroForm(this, reporteFiltro);
     this.Hide();
     frm.ShowDialog();
     this.Show();
 }
Example #2
0
        private async void exportar_ventas_button_Click(object sender, EventArgs e)
        {
            var frm = new HistorialVentasFiltroForm(this);

            this.Hide();
            frm.ShowDialog();
            this.Show();

            var destino = AbrirDialogoGuardar();

            if (destino == null)
            {
                return;
            }

            await ExportarReporte <ReporteVentaModelo>(destino, reporteFiltro);

            reporteFiltro = null;
        }