开发者

Localize main menu in C#

Good night,

Today I learned about localization in C# and now I need to fully localize my application's main menu. The question is whether there is any way to localize it automatically? Currently, I set at 开发者_如何学Godesign time each MenuItem's Textproperty to be a given string in the resource file and use recursion on MenuItems, but this doesn't sound elegant at all... Is there any better way?

Thank you very much.


There is a Microsoft-supplied detailed walkthrough on how to accomplish this task:

Walkthrough: Localizing Windows Forms


You need to use satellite assemblies to contain your local resources

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜