I\'m writing a form app in c# and I need to be able to change the contents of a Rich Text Box from any thread, I tried using a delegate and InvokeRe
I mostly use this, and it works perfectly. For the exact same purpose are what you are intending.
public void UpdateSub(string message) { subDisplay.subBox.Invoke((Action)delegate { subDisplay.subBox.Text = message; }); }
Hope it help's your or someone else with it!