public UIElement Report() { reportSelector = new ProjectReportSelector(attributes = new ProjectReportAttributes()); reportSelector.Owner = Application.Current.MainWindow; reportSelector.ShowDialog(); if (!reportSelector.DialogResult.HasValue || reportSelector.DialogResult.Value == false) return panel; analysisFiles = TwFile.GetAnalysisFilesIncludingZipped(); if (analysisFiles.Count == 0) return panel; aggregateFile = TwFile.GetProjectReportFileToSave("TraceWizardProjectReport"); if (aggregateFile == null || aggregateFile.Length == 0) return panel; System.IO.File.Delete(aggregateFile); InitProgressWindow(); ReportDone(); return panel; }
public ProjectReportSelector(ProjectReportAttributes attributes) : this() { Attributes = attributes; }