There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Multi UI thread localization problem
I'm working with two windows, one running in a STA thread, the other running in the main thread.
When second window (on main thread) is instantiated recive an exception "The calling thread cannot access this object because a different thread owns it." typical of UI threads accessing to an non thread-safe object.
Attached a solution demo with the problem.