public void CierreDeCajaHoras()
        {
            FrmLapsoHoras f = new FrmLapsoHoras();

            f.Text = "Corte De Caja x Horas";
            f.ShowDialog();
            if (f.DialogResult != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            reportViewer1.ProcessingMode = ProcessingMode.Local;
            this.reportViewer1.LocalReport.ReportPath = Application.StartupPath + "\\Reportes\\CierreDeCajaHoras.rdlc";
            this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("VentasxPlato", Basicas.VentasHorasxPlatos(f.desde, f.hasta)));
            this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("TotalxFormaPago", Basicas.VentasxHoras(f.desde, f.hasta)));
            this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("VentasxDia", Basicas.VentasDiariasxLapso(f.desde, f.hasta)));
            this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("Parametros", new Parametro[] { Basicas.parametros() }));
            ReportParameter desde = new
                                    ReportParameter("desde", f.desde.ToString("t"));
            ReportParameter hasta = new
                                    ReportParameter("hasta", f.hasta.ToString("t"));
            ReportParameter fecha = new
                                    ReportParameter("fecha", DateTime.Today.ToString("d"));

            this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] { desde, hasta, fecha });
            this.reportViewer1.RefreshReport();
            this.ShowDialog();
        }