コード例 #1
0
ファイル: Settings.cs プロジェクト: romibi/wincompose
 public static void SaveConfig()
 {
     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();
 }
コード例 #2
0
ファイル: Settings.cs プロジェクト: ygemici/wincompose
        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();
        }