You're opening two instances of Loadscreen
:
- One with
StartupUri="Loadscreen.xaml"
- The other one from
Application_Startup
which is called because ofStartup="Application_Startup"
.
Just get rid of StartupUri="Loadscreen.xaml"
and the problem should be gone.