WPF App - different page than StartupUri getting called...
-
I have a WPF app (that I didn't write - I just have the "pleasure" of fixing). The StartupUri in the app.xaml references mainwindow.xaml. But for some reason, I have a completely different page BasicView.xaml that is getting loaded first, prior to the MainWindow. Any idea what could be causing this? Thanks
Phil
-
I have a WPF app (that I didn't write - I just have the "pleasure" of fixing). The StartupUri in the app.xaml references mainwindow.xaml. But for some reason, I have a completely different page BasicView.xaml that is getting loaded first, prior to the MainWindow. Any idea what could be causing this? Thanks
Phil
Check what's in your code behind App.xaml.cs.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
I have a WPF app (that I didn't write - I just have the "pleasure" of fixing). The StartupUri in the app.xaml references mainwindow.xaml. But for some reason, I have a completely different page BasicView.xaml that is getting loaded first, prior to the MainWindow. Any idea what could be causing this? Thanks
Phil