I have a GUI-thread for my form and another thread that computes things.
The form has a richtTextBox. I want the worker-thread to pass strings to the form, so that e
In general you need to inherit EventArgs and add a string property, and then make your event of type EventHandler, but that is a classic case for the BackgroundWorker.
EventArgs
string
EventHandler
BackgroundWorker
Sample here: http://msdn.microsoft.com/en-us/library/cc221403(v=vs.95).aspx
and here: C# backgroundWorker reports string?