예제 #1
0
		private void RunDataReport (ReportModel reportModel,IDataManager data)
		{
			ILayouter layouter = new Layouter();
			IReportCreator reportCreator = DataPageBuilder.CreateInstance(reportModel,data,layouter);
			reportCreator.SectionRendering += new EventHandler<SectionRenderEventArgs>(PushPrinting);
			reportCreator.PageCreated += OnPageCreated;
			reportCreator.BuildExportList();
			ShowCompleted();
		}
예제 #2
0
		private void RunFormSheet (ReportModel reportModel)
		{
			
			Layouter layouter = new Layouter();
			IReportCreator reportCreator = FormPageBuilder.CreateInstance(reportModel,layouter);
			reportCreator.SectionRendering += new EventHandler<SectionRenderEventArgs>(PushPrinting);
			reportCreator.PageCreated += OnPageCreated;
			reportCreator.BuildExportList();
			ShowCompleted ();
		}