用C#进行界面的中英文转换的方法

cctvsoft 2006-10-24 03:27:05
现在做的一个软件,需要能够进行中英文界面的转换,各位都是用的什么方法实现的呢?
...全文
452 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
cctvsoft 2006-10-25
  • 打赏
  • 举报
回复
还不是很清楚啊,有实际做过的没?
nozaomi 2006-10-24
  • 打赏
  • 举报
回复
学习,顶
Qim 2006-10-24
  • 打赏
  • 举报
回复
学习
lovefootball 2006-10-24
  • 打赏
  • 举报
回复
http://www.cnblogs.com/lanshh/archive/2006/06/26/436163.html
woanon 2006-10-24
  • 打赏
  • 举报
回复
学习up
brucenan999 2006-10-24
  • 打赏
  • 举报
回复
用两种语言的资源文件,配合culture来控制.
deadshot123 2006-10-24
  • 打赏
  • 举报
回复
using resgen to do it
lxhvc 2006-10-24
  • 打赏
  • 举报
回复
通过改变Thread.CurrentThread.CurrentUICulture 属性,使系统使用对应的语言版本。事例如下:
using System;
using System.Threading;
using System.Windows.Forms;

class UICulture : Form
{
public UICulture()
{
// Set the user interface to display in the
// same culture as that set in Control Panel.
Thread.CurrentThread.CurrentUICulture =
Thread.CurrentThread.CurrentCulture;

// Add additional code.
}

[STAThreadAttribute]
static void Main()
{
Application.Run(new UICulture());
}
}

110,529

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧