2008-09-06から1日間の記事一覧

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

C#

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>