C# using LoadFile or ReadallLines on RichTextBox -
i have problem on few systems when trying load richtextbox program becomes unresponsive, cannot , have kill via taskmanager. working on systems few systems located in different country there seems problem.
we have tried simple :
private void testing4() { richtextbox1.loadfile(@"c:\testing.logs", richtextboxstreamtype.plaintext); }
if decide use normal textbox appears working using .net 4.5, still becomes unresponsive. ideas?
this may you:
foreach(var line in file.readlines(@"c:\testing.logs")) { richtextbox1.appendtext(line+environment.newline); }
Comments
Post a Comment