processing_form_template
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing_form_template [2010/07/26 22:17] – stephen | processing_form_template [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 125: | Line 125: | ||
| else | else | ||
| { | { | ||
| - | this.textBoxMessageLog.Text += | + | StringBuilder fullMessage |
| - | DateTime.Now.ToShortDateString() | + | fullMessage.Append(DateTime.Now.ToShortDateString()); |
| - | DateTime.Now.ToString(timeFormat, | + | fullMessage.Append(" "); |
| - | message + Environment.NewLine; | + | fullMessage.Append(DateTime.Now.ToString(timeFormat, |
| - | this.textBoxMessageLog.SelectionStart = this.textBoxMessageLog.Text.Length; | + | fullMessage.Append(message); |
| - | this.textBoxMessageLog.ScrollToCaret(); | + | fullMessage.Append(Environment.NewLine); |
| + | |||
| + | this.textBoxMessageLog.AppendText(fullMessage.ToString()); | ||
| } | } | ||
| } | } | ||
processing_form_template.1280182647.txt.gz · Last modified: 2017/01/01 19:51 (external edit)
