J
Joe Wright
Hello, I have a client/server application that needs to show forms depending
on what is received. The problem is that my Client class that handles all of
the sending and receiving of data raises it's DataReceived event in the
thread that is asyncronously reading the data from the tcpclient. This means
that I can't create any controls on my main form in the DataReceived event.
Does anyone know how I can raise the event in the main thread. Any help
would be appreciated. Thanks.
Joe
on what is received. The problem is that my Client class that handles all of
the sending and receiving of data raises it's DataReceived event in the
thread that is asyncronously reading the data from the tcpclient. This means
that I can't create any controls on my main form in the DataReceived event.
Does anyone know how I can raise the event in the main thread. Any help
would be appreciated. Thanks.
Joe