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)

  1. create form
  2. add printbarmanager
  3. 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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -