Exemple #1
0
        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());
            }
        }
Exemple #2
0
        public string GetOverviewReport()
        {
            OverviewReport report = new OverviewReport(_dsmModel);

            return(report.WriteReport());
        }