Dev/WPF

[WPF] App.xaml StartupUri -> cs사용

쇼크리더 2009. 5. 15. 15:49
반응형
App.xaml 파일을 보면

<Application x:Class="WpfApplication3.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="Window1.xaml">

시작페이지를 지정하는 코드(StartupUri)가 있다.

이 부분을 cs파일에서 구현해보자.
반응형