I am working on this code written by some others. It contains a background worker which from its DoWork calls a Dispatcher.Invoke.
My problem is that i think my BackgroundWorkerCompleted will happen before my Dispatcher.Invoke is done. Is that correct?
Will Dispatcher.Invoke start a new thread or start on the main one?
Is it a bad idea to mix Dispatcher with Backgroundworker ? The samples i find seems to be using only one of them.