public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Lap_Denda rpt = new Lap_Denda();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void dendaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Cetak Laporan Denda", "Cetak", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
            {
                Laporan.Lap_Denda cr = new Laporan.Lap_Denda();
                cr.RecordSelectionFormula = "{@LEWAT} > 0";

                Laporan.CETAK frm = new Laporan.CETAK();
                frm.crystalReportViewer1.ReportSource  = cr;
                frm.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
                frm.crystalReportViewer1.RefreshReport();
                frm.Show();
            }
        }