private TreeViewItem GetAvgUserSummary(ArgArgPointReport report)
        {
            var txt = "  No. of points " + report.numPoints + "\r\n";

            txt += "  No. of points with description " + report.numPointsWithDescriptions + "\r\n";
            txt += "  No. of media attachments " + report.numMediaAttachments + "\r\n";
            txt += "  No. of sources " + report.numSources + "\r\n";
            txt += "  No. of comments " + report.numComments;

            var tb = new TextBlock();

            tb.Text = txt;
            var tvi = new TreeViewItem();

            tvi.Items.Add(tb);
            tvi.Header = "<average user, all topics>";
            return(tvi);
        }
Beispiel #2
0
        private TreeViewItem GetAvgUserSummary(ArgArgPointReport report)
        {
            var txt = "  No. of points " + report.numPoints + "\r\n";
            txt += "  No. of points with description " + report.numPointsWithDescriptions + "\r\n";
            txt += "  No. of media attachments " + report.numMediaAttachments + "\r\n";
            txt += "  No. of sources " + report.numSources + "\r\n";
            txt += "  No. of comments " + report.numComments;

            var tb = new TextBlock();
            tb.Text = txt;
            var tvi = new TreeViewItem();
            tvi.Items.Add(tb);
            tvi.Header = "<average user, all topics>";
            return tvi;
        }