[NET 4.0]多语言Windows窗体MDI应用程序 [英] [NET 4.0] Multilanguage Windows Forms MDI Application
本文介绍了[NET 4.0]多语言Windows窗体MDI应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我在创建多语言应用程序时遇到问题。我找到了很多解决办法(例如http://www.dotnetcurry.com/ShowArticle.aspx?ID=174),但我发现的不起作用
I Have a problem with creating multilanguage application. I found a lot of solutions to do that (ex. http://www.dotnetcurry.com/ShowArticle.aspx?ID=174) but that what i found doesn't work
使用MDI表单和工具栏。我使用DevExpress 10.2。
with MDI forms, and toolbars. I works with DevExpress 10.2.
有人可以帮我解决这个问题吗?
Can somebody help me resolve this problem ?
最好的问候
M。
推荐答案
嗨rogus1,
Hi rogus1,
>>但我发现的内容不适用于MDI表单和工具栏。
>>but that what i found doesn't work with MDI forms, and toolbars.
您可以参考以下代码:
//Recursion open form
foreach (Form form in Application.OpenForms)
{
//do someting
}
// Recursion Control
private void ControlRecursion(Control con)
{
foreach (Control c in con.Controls)
{
//do something
ControlRecursion(c);
}
}
您可以在"修改语言事件"中添加上述方法。
You could add above methods into the 'modify language event'.
问候,
Moonlight
Moonlight
这篇关于[NET 4.0]多语言Windows窗体MDI应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文