Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            IOCContainer.InitAutofac();

            VM_WindowMain main = new VM_WindowMain();

            main.Show();

            base.OnStartup(e);
        }