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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        public ShowRemainderReport(Form1 form)
        {
            InitializeComponent();
            ths = form;
            string userName = ths.userName.Text.ToLower();

            userID = ths.userID;
            report = new RemaindersReport();
            report.SetParameterValue(0, 3);
            crystalReportViewer1.ReportSource = report;
        }