Is there way to speed up displaying a lot of text in a winforms textbox?
My application reads a file (which can be as large as 20MB) and then displays it to a textbox (TextBoxX.Text = fileText;).
The process of displaying the text is extremely slow, it sometimes takes up to a few minutes.
The problem is that this application is designed to show a lot of text in a file, quickly to the user.
Is there any way to do this faster? Maybe use some kind of caching?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…