private void Window_Loaded(object sender, RoutedEventArgs e) { RPViewKhachHang rp = new RPViewKhachHang(); rp.Load(@"Myrep.rep"); viewer.ViewerCore.ReportSource = rp; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { RPViewKhachHang rpt = new RPViewKhachHang(); rpt.Site = this.Site; return(rpt); }