Esempio n. 1
0
        private void CrystalReportsViewer_Loaded(object sender, RoutedEventArgs e)
        {
            Weekly_Report obj = new Weekly_Report();

            obj.Load("@Weekly_Report.rep");
            viewer1.ViewerCore.ReportSource = obj;
        }
Esempio n. 2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Weekly_Report rpt = new Weekly_Report();

            rpt.Site = this.Site;
            return(rpt);
        }