The window starts first with Window1.xaml.

But you need to change to WindowStart.xaml.

    1 answer 1

    Based on the question, I assume that you need in App.xaml to change StartupUri from Window1.xaml to WindowStart.xaml .

    If you have many windows in the application, perhaps you should pay attention to ShutdownMode .