Пример #1
0
 public static void SaveConfig()
 {
     SaveEntry("reset_delay", m_delay.ToString());
     Language.Save();
     ComposeKey.Save();
     CaseInsensitive.Save();
     DiscardOnInvalid.Save();
     BeepOnInvalid.Save();
     KeepOriginalKey.Save();
     InsertZwsp.Save();
     EmulateCapsLock.Save();
     ShiftDisablesCapsLock.Save();
 }
Пример #2
0
        public static void SaveConfig()
        {
            // FIXME: this is illegal if not in the STA thread
            //Log.Debug("Saving configuration file {0}", GetConfigFile());
            Console.WriteLine("Saving configuration file {0}", GetConfigFile());

            SaveEntry("reset_delay", m_delay.ToString());
            Language.Save();
            ComposeKeys.Save();
            Disabled.Save();
            UnicodeInput.Save();
            CaseInsensitive.Save();
            DiscardOnInvalid.Save();
            BeepOnInvalid.Save();
            KeepOriginalKey.Save();
            InsertZwsp.Save();
            EmulateCapsLock.Save();
            ShiftDisablesCapsLock.Save();
            CapsLockCapitalizes.Save();
            AllowInjected.Save();
        }