VB.NET全球化消息字符串 [英] VB.NET Globalisation Message String

查看:94
本文介绍了VB.NET全球化消息字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发全球化的winform应用程序.第一页具有选择语言的选项.现在第二页资源文件根据使用Thread.currentthread.UIculture属性在第一页中选择的语言加载.要以用户选择的语言显示消息框消息.我不知道该怎么做.

I am trying to develop Globalised winform application.The first page has the option to select language.Now the second page resource file gets loaded according to the Language it selects in the first page using Thread.currentthread.UIculture property.Now i want to display the messagebox message in the language that the user selects.I dont know how to do that.

推荐答案

您需要在语言资源中包含一个字符串文本文件.
然后在您的消息框中显示该文本.
You need to have a string text in the language resource file.
Then display that text in the your message box.


检查本教程

http://msdn.microsoft.com/en-us/library/y99d1cd3 (v = vs.71).aspx [
Check this tutorial

http://msdn.microsoft.com/en-us/library/y99d1cd3(v=vs.71).aspx[^]

It gives you the exact solution you need.


这篇关于VB.NET全球化消息字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆