public void ApplySettings()
        {
            RootSettingsNode.ApplySettingsInAllNodes();
            Settings.SaveSettings(ExtensionHost.SettingsManager);
            _appearanceMap.Save(_appearanceMapPath);

            if (AppliedSettings != null)
            {
                AppliedSettings(this, EventArgs.Empty);
            }
        }
        public void ApplySettings()
        {
            RootSettingsNode.ApplySettingsInAllNodes();
            _extensionHost.UILanguage = UILanguage.GetLanguageById(_settings.GetValue("Application.LanguageID"));
            _settings.Save();

            _appearanceMap.Save(_appearanceMapPath);

            if (AppliedSettings != null)
            {
                AppliedSettings(this, EventArgs.Empty);
            }
        }