title: Nested Background workers, updating the UI from the main thread
body: <p>I have two methods that need to be run async. In order for <code>Method B()</code> to run, it calls <code>Method A()</code>, but sometimes <code>Method A()</code> gets called elsewhere by itself. In the Background Worker completed event, I update the UI and everything is fine if <code>Method A()</code> was called from the main thread. However when <code>Method A()</code> gets called inside of <code>Method B()</code>, the <code>RunWorkerCompleted</code> for <code>Method A()</code> is now happening on <code>Method B()</code>'s thread instead of the main thread. The only solution I can think of would be to implement an event listener on the Main thread and then in <code>Method A()</code>'s <code>RunWorkerComplete</code> method, raise this event. Can anyone give me any insight on how to accomplish this, or if there are better ways to handle this issue?</p>