Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            EmpStatistics rpt = new EmpStatistics();

            rpt.Site = this.Site;
            return(rpt);
        }
        public EmpStats(int id)
        {
            InitializeComponent();
            c      = new Controller();
            UserID = id;
            job    = c.GetUserJob(UserID);
            EmpStatistics n = new EmpStatistics();

            view.ViewerCore.ReportSource = n;
        }