Click here to Skip to main content
15,900,906 members
Home / Discussions / C#
   

C#

 
AnswerRe: Data Field Values... Pin
Christian Graus3-Dec-08 14:58
protectorChristian Graus3-Dec-08 14:58 
AnswerRe: Data Field Values... Pin
CodingYoshi3-Dec-08 18:12
CodingYoshi3-Dec-08 18:12 
QuestionQuestion about ZedGraph and Data Types Pin
Rafone3-Dec-08 13:09
Rafone3-Dec-08 13:09 
AnswerRe: Question about ZedGraph and Data Types Pin
Christian Graus3-Dec-08 13:12
protectorChristian Graus3-Dec-08 13:12 
GeneralRe: Question about ZedGraph and Data Types Pin
Rafone3-Dec-08 13:31
Rafone3-Dec-08 13:31 
GeneralRe: Question about ZedGraph and Data Types Pin
Christian Graus3-Dec-08 13:51
protectorChristian Graus3-Dec-08 13:51 
QuestionUsing a TextBox as Console replacement. Pin
Mr.Brainley3-Dec-08 12:16
Mr.Brainley3-Dec-08 12:16 
GeneralRe: Using a TextBox as Console replacement. Pin
Luc Pattyn3-Dec-08 12:38
sitebuilderLuc Pattyn3-Dec-08 12:38 
Hi,

I recommend using a ListBox instead of a TextBox when ever the content is line oriented.

A TextBox is meant to hold one piece of text, and it effectively stores a single string,
which would be the (expensive) concatenation of all your individual log messages.

A ListBox on the other hand is aimed at displaying and manipulating lists, that could be lists of single-line strings. Nothing gets concatenated, all items in the list are kept separately, and they can be added, removed, modified, etc. Much easier, and much faster, especially when the total size of the contents increases. I have been using ListBoxes holding millions of messages; I can't imagine getting satisfactory results from a TextBox for such work loads. A StringBuilder would not solve the performance problem at all.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


GeneralRe: Using a TextBox as Console replacement. Pin
User 43300283-Dec-08 14:06
User 43300283-Dec-08 14:06 
GeneralRe: Using a TextBox as Console replacement. Pin
Luc Pattyn3-Dec-08 14:19
sitebuilderLuc Pattyn3-Dec-08 14:19 
GeneralRe: Using a TextBox as Console replacement. Pin
Mr.Brainley7-Dec-08 0:35
Mr.Brainley7-Dec-08 0:35 
QuestionReading files over network asynchronously Pin
CodingYoshi3-Dec-08 12:10
CodingYoshi3-Dec-08 12:10 
QuestionHow to stop windows form from refreshing/updating Pin
Kent K3-Dec-08 11:20
professionalKent K3-Dec-08 11:20 
AnswerRe: How to stop windows form from refreshing/updating Pin
Christian Graus3-Dec-08 11:48
protectorChristian Graus3-Dec-08 11:48 
GeneralRe: How to stop windows form from refreshing/updating Pin
Kent K3-Dec-08 12:03
professionalKent K3-Dec-08 12:03 
GeneralRe: How to stop windows form from refreshing/updating Pin
Christian Graus3-Dec-08 13:52
protectorChristian Graus3-Dec-08 13:52 
Questionpropertyies and attributes Pin
netJP12L3-Dec-08 11:20
netJP12L3-Dec-08 11:20 
QuestionSyntax error (missing operator) in query expression Pin
hassanasp3-Dec-08 10:22
hassanasp3-Dec-08 10:22 
AnswerRe: Syntax error (missing operator) in query expression Pin
PH-MAT3-Dec-08 10:25
PH-MAT3-Dec-08 10:25 
GeneralRe: Syntax error (missing operator) in query expression Pin
hassanasp3-Dec-08 10:34
hassanasp3-Dec-08 10:34 
AnswerRe: Syntax error (missing operator) in query expression Pin
Wendelius3-Dec-08 10:50
mentorWendelius3-Dec-08 10:50 
AnswerRe: Syntax error (missing operator) in query expression Pin
Christian Graus3-Dec-08 11:47
protectorChristian Graus3-Dec-08 11:47 
AnswerRe: Syntax error (missing operator) in query expression Pin
User 43300283-Dec-08 14:42
User 43300283-Dec-08 14:42 
QuestionSignificance of the Static and Virtual Pin
Pr@teek B@h!3-Dec-08 9:58
Pr@teek B@h!3-Dec-08 9:58 
AnswerRe: Significance of the Static and Virtual Pin
Wendelius3-Dec-08 10:20
mentorWendelius3-Dec-08 10:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.