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