C# winform窗体界面如何做中英文切换
C# winform窗体界面如何做中英文切换初始化时,System.Resources.ResourceManager rm = new System.Resources.ResourceManager(typeof(Form1));//typeof里面的内容窗体的名称,我的窗体用的是默认名称Form1
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-Us");
用时,
button1.Text = rm.GetString("button1Text"); // resx里面自己命名
参考:
【1】https://www.cnblogs.com/congqiandehoulai/p/13892559.html
【2】C# winForm资源文件实现多语言切换
【3】winform窗体界面如何做中英文切换?
页:
[1]