I have a winform application (one form), on this form there is a RichTextBox. In the constructor of this form I create an instance of the class MyClass. In the
MyClass
i think the error stops on this line:
richtextBox.Text.Add("MyText");
your question i similar to this:
BackgroundWorker OnWorkCompleted throws cross-thread exception