Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptCuttingEmpYear rpt = new rptCuttingEmpYear();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        //
        private void btnprintyear1_Click(object sender, EventArgs e)
        {
            rptCuttingEmpYear oRpt = new rptCuttingEmpYear();

            SetDBLogonForReport(oRpt);
            crystalReportViewer1.ReportSource = oRpt;
            crystalReportViewer1.Show();
        }