public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { RPVeXe rpt = new RPVeXe(); rpt.Site = this.Site; return(rpt); }
private void Form1_Load(object sender, EventArgs e) { if (l == 1) { RPChuyen rpt = new RPChuyen(); crvQLCX.ReportSource = rpt; } if (l == 2) { RPTuyen rpt = new RPTuyen(); crvQLCX.ReportSource = rpt; } if (l == 3) { RPVeXe rpt = new RPVeXe(); crvQLCX.ReportSource = rpt; } }