开发者

WIn Forms loading labels from resx file

开发者 https://www.devze.com 2023-04-03 09:15 出处:网络
I\'m creating a windows forms application. I have al开发者_运维问答l of my resource strings (resx files) in its own project within the solution. Is it possible to reference those resource files at des

I'm creating a windows forms application. I have al开发者_运维问答l of my resource strings (resx files) in its own project within the solution. Is it possible to reference those resource files at design time?

Coming from web (ASP.Net MVC) we were able to add a reference in the view to the resource file(s) we needed. Am I able to do something similar and set the labels at design time?


Not unless you are prepared to go down the route of using Localizable forms - see WinForms strings in resource files, wired up in designer

0

精彩评论

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