You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Prism Application with a Bootstrapper and App.MainWindow (MetroWindow) running on MainThread and a seperate Login Window (also MetroWindow) running on sperate STA Thread to keep the UI responsive while Bootstrapper is running.
When switching the Theme in any situation the Application throws an exception: "The calling thread cannot access this object because a different thread owns it."
My assumption is that static Implementation and Event subscription from MetroWindow causes the Metro Window to crash when it does not belong to the Mainthread.
Thanks in advance,
Johannes
The text was updated successfully, but these errors were encountered:
I have a Prism Application with a Bootstrapper and App.MainWindow (MetroWindow) running on MainThread and a seperate Login Window (also MetroWindow) running on sperate STA Thread to keep the UI responsive while Bootstrapper is running.
When switching the Theme in any situation the Application throws an exception: "The calling thread cannot access this object because a different thread owns it."
My assumption is that static Implementation and Event subscription from MetroWindow causes the Metro Window to crash when it does not belong to the Mainthread.
Thanks in advance,
Johannes
The text was updated successfully, but these errors were encountered: