tags:

views:

68

answers:

1

I am launching a new dialog from a MEF plugin when I start up the application. Could someone explain why this changes App.Current.MainWindow to the dialog that was launched from the plugin? How can I prevent this from happening?

+1  A: 

Turns out App.Current.MainWindow gets set to the first window that is launched. I was launching the plugin dialog before the main window.

Orestes72