Exemple #1
0
        public static void Load()
        {
            var userSettings    = XmlSettingsManager.LoadUserSettings();
            var defaultSettings = XmlSettingsManager.LoadDefaultSettings();

            proxySingleton = new XmlSettingsProxy(userSettings, defaultSettings);
        }
Exemple #2
0
        public static void Save()
        {
            if (proxySingleton == null)
            {
                Load();
            }

            XmlSettingsManager.SaveUserSettings(proxySingleton.UserSettings);
        }