/// <summary> /// 获取语言类型 /// </summary> public static void LoadLanType() { _LanguageType = (EL)System.Convert.ToInt16(CIniFile.ReadFromIni("Language", "default", _iniFile, "0")); }
/// <summary> /// 设置语言类型 /// </summary> /// <param name="lanType"></param> public static void SetLanType(EL lanType) { _LanguageType = lanType; CIniFile.WriteToIni("Language", "default", ((int)lanType).ToString(), _iniFile); }