Пример #1
0
        public MainWindow()
        {
            var configPath = System.IO.Path.Combine(Environment.CurrentDirectory, "test.config");
            var configFileLogic = new WpfConfigFileLogic(configPath);

            _content = new ConfigurationViewModel();
            _config = new ConfigurationManager(configFileLogic);

            InitializeComponent();
            DataContext = this;
        }
Пример #2
0
        public MainWindow()
        {
            var configPath      = System.IO.Path.Combine(Environment.CurrentDirectory, "test.config");
            var configFileLogic = new WpfConfigFileLogic(configPath);

            _content = new ConfigurationViewModel();
            _config  = new ConfigurationManager(configFileLogic);

            InitializeComponent();
            DataContext = this;
        }