start program with another first window

When I create new project - the window that was created by visual studio automatically will be the first window in program and it will be shown first. How to set to another window in the project to be the first window to start?

For example - mainwindow.xml - first window. auth.xml - new windows I want to start it like this auth->press button->mainwindow

Upvotes: 0

Views: 78

Answers (1)

brunnerh
brunnerh

Reputation: 185290

Change the StartupUri in App.xaml.

Upvotes: 2

Related Questions