Пример #1
0
		void OverviewReport_Click(object sender, RoutedEventArgs e)
		{
			var overviewReport = new OverviewReport(fileNames);
			var reportCreator = overviewReport.Run(list);
			var previewViewModel = new PreviewViewModel(overviewReport.ReportSettings,reportCreator.Pages);
			viewer.SetBinding(previewViewModel);
			ActivateReportTab();
		}
Пример #2
0
		void Button_Click(object sender, RoutedEventArgs e)
		{
			OverviewReport o = new OverviewReport(fileNames);
			var reportCreator = o.Run(list);
			var previewViewModel = new PreviewViewModel(o.ReportSettings,reportCreator.Pages);
			viewer.SetBinding(previewViewModel);                           
		}