9.x及前是这样写的
XtraReport1 rep = new XtraReport1();
rep.Print(PrinterName);
10.X及以后是这样写的
XtraReport1 rep = new XtraReport1();
ReportPrintTool tool = new ReportPrintTool(rep);
tool.Print(PrinterName);
9.x及前是这样写的
XtraReport1 rep = new XtraReport1();
rep.Print(PrinterName);
10.X及以后是这样写的
XtraReport1 rep = new XtraReport1();
ReportPrintTool tool = new ReportPrintTool(rep);
tool.Print(PrinterName);