正版授权组
- 回帖
- 280
- 软币
- 11855
- 在线时间
- 1154 小时
- 注册时间
- 2013-6-9
|
楼主 |
发表于 2014-6-28 08:21:25
|
显示全部楼层
本帖最后由 nickcole 于 2014-7-4 20:27 编辑
把解压出来的文件放到您应用程序的bin目录下。
然后再您应用程序代码的Main中加入以下代码即可
static void Main() {
// The following line provides localization for the application's user interface.
System.Threading.Thread.CurrentThread.CurrentUICulture =
new System.Globalization.CultureInfo("zh-Hans");
// The following line provides localization for data formats.
System.Threading.Thread.CurrentThread.CurrentCulture =
new System.Globalization.CultureInfo("zh-Hans");
// Note that the above code should be added BEFORE calling the Run() method.
Application.Run(new Form1());
}
2014.07.04更正,原来粘贴错了。其中的zh_Hans应该为“zh-Hans”,帖子内容已经修改过了。
|
|