WPF アプリケーションで最初に表示されるウィンドウを変更する

Visual Studio のテンプレートで「WPF アプリケーション」を選択すると作成される App.xaml を開いて、StartupUri を変更すればOK。

<Application x:Class="Sample.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="SampleWindow.xaml">
    <!-- ↑を修正する!! -->
    <Application.Resources>
    </Application.Resources>
</Application>

見つけるまでに30分くらいかかったorz