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

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

            Current = SettingsXml.Load(settingsPath);
        }