public void Execute(ProgressUpdateDelegate updateFunction) { try { MemoryStream ms = new MemoryStream(); StreamWriter sw = new StreamWriter(ms); OverviewReport report = new OverviewReport(_model); report.WriteReport(sw); HtmlViewer viewer = new HtmlViewer(ms); viewer.Show(); _done = true; } catch (Exception ex) { ErrorDialog.Show(ex.ToString()); } }
public string GetOverviewReport() { OverviewReport report = new OverviewReport(_dsmModel); return(report.WriteReport()); }