CSDN博客

img jerrysoftshop

C#中 动态切换当前界面的语言

发表于2004/10/12 16:11:00  2278人阅读

分类: .NET开发

   this.Controls.Clear();
   if (isZh)
   {
    System.Threading.Thread.CurrentThread.CurrentUICulture =
     new CultureInfo("en-US");
   }
   else
   {
    System.Threading.Thread.CurrentThread.CurrentUICulture =
     new CultureInfo("zh-CN");
   }
   isZh = !isZh;
   
   this.InitializeComponent();
阅读全文
0 0

相关文章推荐

img
取 消
img