How to accomplisha continuous update?

Nov 30 2004 9:03 PM
Hello, I'm relatively new to C# and programming in general. I recently ( as in..yesterday) started work on a simple IRC client. Fine, cool..it connects, whatever. What I *need* to happen is for everytime the streamreader that is reading from the TcpClient received any bit of data it will dump it to a RichText control for me to view. I've tried several things, some things only resulting in the update of the control with the data one time...other things locking the GUI up entirely. What I want to know is, how would I go about updating the RichText control EVERYTIME the streamreader gets data? I've tried a timer control, but I can't access the streamreader that is reading from TcpClient ...I don't know how to thread, everyone has told me to do that...but how would I go about "threading" and still being able to access that particular streamreader? Any help would be awesome. (I know the question sucks, but as I said..I'm rather new :] )

Answers (1)