I build an object with a method and an event.
In the method, I start a thread(child thread) and after a long process, the event is raised (from the child thread).
When I use this object in my form, I get an error which tells me to use Textbox.Invoke (which I understand and I know how to solve the error from my form). No problem.
The problem is I want the event to be raised in main thread, so no Textbox.Invoke error will be thrown in my form.
Thanks in advance for your help.