using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace StimulsoftTest { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new Form1()); System.Data.DataSet ds = new System.Data.DataSet(); ds.ReadXmlSchema("SampleData.xsd"); ds.ReadXml("SampleData.xml"); ds.DataSetName = "Sample"; Stimulsoft.Report.StiReport rpt = new Stimulsoft.Report.StiReport(); rpt.Load("SampleData2.mrt"); rpt.RegData(ds); rpt.Dictionary.Synchronize(); rpt.Compile(); rpt.ShowWithRibbonGUI(true); } } }