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

            rpt.Site = this.Site;
            return(rpt);
        }
 private void BillPOSReport_Load(object sender, EventArgs e)
 {
     try
     {
         this.StartPosition = FormStartPosition.Manual;
         this.Location      = new Point(0, 0);
         BillingPOSPrintReport  crystal = new BillingPOSPrintReport();
         BillingPOSPrintDataSet ds      = GetData();
         crystal.SetDataSource(ds);
         this.crystalReportViewer1.ReportSource = crystal;
         this.crystalReportViewer1.RefreshReport();
     }
     catch
     {
     }
 }