Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
Yes, that's how you would do it. Now, when you're calling the Invoke of the ISynchronizeInvoke interface (on any Control object, like a form), you have to make sure that the control's thread is not busy. Meaning, if you try to Invoke() from the main thread back to the main thread, you'll enter deadlock... the CLR waits until the main thread is not busy before calling the invoked method.
|