예제 #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            VM_WindowMain vm = new VM_WindowMain();

            Application.Current.MainWindow = vm.UIElement as Window;
            vm.Show();
            base.OnStartup(e);
        }
예제 #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            IOCContainer.InitAutofac();

            VM_WindowMain main = new VM_WindowMain();

            main.Show();

            base.OnStartup(e);
        }