예제 #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            RPHoaDonBan rp = new RPHoaDonBan();

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

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