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

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

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