예제 #1
0
        public MainPage()
        {
            var configFileLogic = new MetroConfigFileLogic(ApplicationData.Current.LocalFolder, "test.config");

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

            this.InitializeComponent();
            DataContext = this;
        }
예제 #2
0
        public MainPage()
        {
            var configFileLogic = new MetroConfigFileLogic(ApplicationData.Current.LocalFolder, "test.config");

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

            this.InitializeComponent();
            DataContext = this;
        }