S
Stefan
Hello,
I have a Main Form on the main thread and many worker threads.
Each worker thread has custom user controls to be displayed on the main form
but controlled by the worker threads.
I want the worker thread to be able to modify it's custom user control and
at the same time have the main form display the custom user controls.
When the custom user controls are created by the worker thread, they can't
be added to the main form since they were not created on the same thread as
the main form. When I create the custom user controls on the main
form/thread, the worker threads can no longer modify it's user control.
I want to keep the worker thread and the custom controls as simple and
straight forward as possible. What is the best solution in this scenario?
Thanks
I have a Main Form on the main thread and many worker threads.
Each worker thread has custom user controls to be displayed on the main form
but controlled by the worker threads.
I want the worker thread to be able to modify it's custom user control and
at the same time have the main form display the custom user controls.
When the custom user controls are created by the worker thread, they can't
be added to the main form since they were not created on the same thread as
the main form. When I create the custom user controls on the main
form/thread, the worker threads can no longer modify it's user control.
I want to keep the worker thread and the custom controls as simple and
straight forward as possible. What is the best solution in this scenario?
Thanks