Beispiel #1
0
        public ModuleImpl(IWindsorContainer container, IShell shell)
        {
            _shell     = shell;
            _container = container;

            _viewModelsContainer = CreateViewModelsContainer();
            _tabViewModel        = _viewModelsContainer.Resolve <TabViewModel>();
            _shell.TabControl    = _tabViewModel;
            _tabViewModel.Show <TrainingViewModel>();
            _tabViewModel.Show <TrainingChartViewModel>();
        }