N
norm
HELP
I have component that need to update the UI.
The component raises an event on the main form which update the UI.
Every time I execute the event I get an error that state the controls must
be on the same thread
I think I need to use delegate to update the UI.
I have created a delegate, but the update is still on the component thread
not the main UI thread.
I know I am doing something wrong, but can not get it worked out.
My knowledge of delegates is not great.
Can somebody give me an answer to this problem
Thanks
Norm
I have component that need to update the UI.
The component raises an event on the main form which update the UI.
Every time I execute the event I get an error that state the controls must
be on the same thread
I think I need to use delegate to update the UI.
I have created a delegate, but the update is still on the component thread
not the main UI thread.
I know I am doing something wrong, but can not get it worked out.
My knowledge of delegates is not great.
Can somebody give me an answer to this problem
Thanks
Norm