摘要: 设置当前线程的区域性public static void SetCurrentThreadCultureInfo(string name) { Properties.Resource.Culture = new System.Globalization.CultureInfo(name); var newName = name; switch (Properties.Resource.Culture.Name) { case "zh-CHS": newName = "zh-CN"; break; case "zh-CHT": newN 阅读全文
posted @ 2013-03-26 10:41 慧由心生 阅读(2037) 评论(2) 推荐(0) 编辑
摘要: 如设置当前语言上下文:AppDomain.CurrentDomain.UnhandledException +=CurrentDomainUnhandledException;If(System.Configuration.ConfigurationManager.AppSettings[“Languange”] != null){ Resources.Culture = new CultureInfo(System.Configuration.ConfigurationManager.AppSettings[“Languange”] )}Common.Properties.Resources 阅读全文
posted @ 2013-03-26 10:23 慧由心生 阅读(235) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示