开发者

WPF - Separate Resource Files "Per Client"

开发者 https://www.devze.com 2023-02-07 10:15 出处:网络
I have a WPF application that will be used by multiple clients. Where clients want a different theme/skin, I am following the approach here - http://www.codeproject.com/KB/WPF/SkinningInWPF.aspx. This

I have a WPF application that will be used by multiple clients. Where clients want a different theme/skin, I am following the approach here - http://www.codeproject.com/KB/WPF/SkinningInWPF.aspx. This is great, but there are also times when client wants windows to contain different text and wording (not necessarily language change only). I have been reading this article for this - http://www.rhyo开发者_运维百科us.com/2010/10/20/using-resources-resx-for-strings-in-a-wpf-application-a-technique-to-prepare-for-localization/.

How should I go about telling the application which resources.resx file to use when it is "client" specific?

0

精彩评论

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