public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { PlistReport rpt = new PlistReport(); rpt.Site = this.Site; return(rpt); }
private void Srlist_Load(object sender, EventArgs e) { try { this.StartPosition = FormStartPosition.Manual; this.Location = new Point(0, 0); PlistReport crystal = new PlistReport(); BillingPOSPrintDataSet ds = GetData(); crystal.SetDataSource(ds); this.crystalReportViewer1.ReportSource = crystal; crystalReportViewer1.RefreshReport(); return; } catch { } }