Beispiel #1
0
 static Settings()
 {
     Current = new SettingsXml();
 }
Beispiel #2
0
        public static void Load()
        {
            string settingsPath = Path.Combine(AppContext.BaseDirectory, SETTINGS_FILE);

            Current = SettingsXml.Load(settingsPath);
        }
Beispiel #3
0
        public static void Load()
        {
            string settingsPath = Path.Combine(Application.StartupPath, SETTINGS_FILE);

            Current = SettingsXml.Load(settingsPath);
        }