Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            report_task rpt = new report_task();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        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();
        }