G
Guest
Hi everyone,
I used multithreading for a network application using Winsock. so when I
receive a message in my secondary thread, I raise an event to upper layer and
in that event handler when I try to fill a treeview control with the
appropriate information I get the following error:
"The action being performed on this control is being called from the wrong
thread. You must marshal to the correct thread using Control.Invoke or
Control.BeginInvoke to perform this action"
could anyone help me plzzzzzz?
Many tnx in advance
I used multithreading for a network application using Winsock. so when I
receive a message in my secondary thread, I raise an event to upper layer and
in that event handler when I try to fill a treeview control with the
appropriate information I get the following error:
"The action being performed on this control is being called from the wrong
thread. You must marshal to the correct thread using Control.Invoke or
Control.BeginInvoke to perform this action"
could anyone help me plzzzzzz?
Many tnx in advance