Beispiel #1
0
        // Token: 0x0600003C RID: 60 RVA: 0x00005170 File Offset: 0x00003370
        private void BindData()
        {
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.AppendLine("<html><head><style>body { font-family: \"Segoe UI\", Arial; line-height: 150%; } table { border: 1px solid #5C5C5C; border-collapse: collapse; } td { font-size: 10pt; padding: 4px; border: 1px solid #5C5C5C; } </style></head>");
            stringBuilder.AppendLine("<body>");
            stringBuilder.AppendFormat(HtmlExpress.ConvertDataTableToHtmlTable(this.dt), Array.Empty <object>());
            stringBuilder.AppendLine("</body>");
            stringBuilder.AppendFormat("</html>", Array.Empty <object>());
            this.webBrowser1.DocumentText = stringBuilder.ToString();
        }
Beispiel #2
0
 void WriteTable(DataTable dt)
 {
     sb.AppendFormat(HtmlExpress.ConvertDataTableToHtmlTable(dt));
     sb.AppendLine("<br />");
 }
Beispiel #3
0
 // Token: 0x0600007B RID: 123 RVA: 0x0000A2C0 File Offset: 0x000084C0
 private void WriteTable(DataTable dt)
 {
     this.sb.AppendFormat(HtmlExpress.ConvertDataTableToHtmlTable(dt), Array.Empty <object>());
     this.sb.AppendLine("<br />");
 }