J
John
Hi,
I have a class which on instantiation creates a background thread to
do its processing in. The class exposes a number of events that the
application subscribes to so that data can be reported.
How can I make it so that when my class calls an event (a callback) it
does so with the application's main thread and not with the background
thread?
My class is not a control so I can't use begin invoke, but I'd
essentially like to get the same/similar behavior.
Thanks!
John
I have a class which on instantiation creates a background thread to
do its processing in. The class exposes a number of events that the
application subscribes to so that data can be reported.
How can I make it so that when my class calls an event (a callback) it
does so with the application's main thread and not with the background
thread?
My class is not a control so I can't use begin invoke, but I'd
essentially like to get the same/similar behavior.
Thanks!
John