开发者

Changing satellite resources assembly while WPF application is running

Looking at WPF Globalization and Localization Overview it looks like WPF r开发者_JS百科eads Thread.CurrentThread.CurrentUICulture and selects the resources assembly.

Is it possible to load an assembly in code and have the UI use the new localized data? Something like an "English" button to load en-US and a "Spanish" button to load "es-MX"?


You'd likely have to close and reopen any windows for the change to take effect. See this thread: http://social.msdn.microsoft.com/Forums/en/wpf/thread/4f19508a-923e-4f48-8142-fc192e1d28ff

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜