public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { crVenda rpt = new crVenda(); rpt.Site = this.Site; return(rpt); }
private void FormReportVenda_Load(object sender, EventArgs e) { crVenda report = new crVenda(); report.SetDataSource(venda); crystalVenda.ReportSource = report; report.Refresh(); }