Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            Style = (Style)FindResource(typeof(Window));

            _viewModel  = IocKernel.Get <MainViewModel>();
            DataContext = _viewModel;
        }
Esempio n. 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            IocKernel.Initialize(new IocConfiguration());

            base.OnStartup(e);
        }