Exemple #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            RPSanPham rp = new RPSanPham();

            rp.Load(@"Myrep.rep");
            viewer.ViewerCore.ReportSource = rp;
        }
Exemple #2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            RPSanPham rpt = new RPSanPham();

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