Beispiel #1
0
        public MainViewModel(ApplicationViewModel applicationViewModel)
        {
            ApplicationViewModel           = applicationViewModel;
            applicationViewModel.MinHeight = 500;
            applicationViewModel.MinWidth  = 700;

            WindowFactory = MainWindowFactory.GetFactory();
            ControlViewModels.AddRange(WindowFactory.GetPages());
            SelectedControlViewModel = ControlViewModels[0];

            ModelResourcesManager.GetInstance().CurrencyConverter.Attach(this);
        }