c# - How do I connect XtraReport to windows form on Visual Studio 2010 -
how connect xtrareport windows form on visual studio 2010(this must use xtragrid report viewing)
- create form
- add printbarmanager
- create new xtrareport
and try use code in form
public partial class yourform : xtraform { private yourxtrareport report; public yourform(printdocument document ) { initializecomponent(); report = new printingdocumentreport(document); } private void printingformload(object sender, eventargs e) { printcontrol1.printingsystem = report.printingsystem; report.createdocument(); } }
Comments
Post a Comment