コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            EmpStatistics rpt = new EmpStatistics();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        public EmpStats(int id)
        {
            InitializeComponent();
            c      = new Controller();
            UserID = id;
            job    = c.GetUserJob(UserID);
            EmpStatistics n = new EmpStatistics();

            view.ViewerCore.ReportSource = n;
        }