public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { report_task rpt = new report_task(); rpt.Site = this.Site; return(rpt); }
private void bunifuButton5_Click(object sender, EventArgs e) { FormPrinting f; report_task r = new report_task(); report_note r2 = new report_note(); r.SetDataSource(dO_ITDataSet); r2.SetDataSource(dO_ITDataSet); if (_isTask) { f = new FormPrinting(r); } else { f = new FormPrinting(r2); } f.ShowDialog(); }