, , - InvokeRequired() BeginInvoke(), , , , , , .
... Before Foo starts in Bar, create an instance of some UI element, say a label ... Then When an event occurs in Foo, call BeginInvoke () in this user interface element in the event handler. This ensures that the code that is executed is launched on Bar ...
But why are you doing this?
source
share