StartupUri

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

    App.xaml 파일을 보면 시작페이지를 지정하는 코드(StartupUri)가 있다. 이 부분을 cs파일에서 구현해보자. using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace WpfApplication3 { /// /// App.xaml에 대한 상호 작용 논리 /// public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Window1 window =..