public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { AgentCrystalReport rpt = new AgentCrystalReport(); rpt.Site = this.Site; return(rpt); }
private void DepartmentReportForm_Load(object sender, EventArgs e) { AgentCrystalReport crystalReport1 = new AgentCrystalReport(); crystalReportViewer1.ReportSource = crystalReport1; }