Moving form resource files to a resource dll

心已入冬 提交于 2019-12-14 03:20:00

问题


I want to move the localized resource files, created for my various winforms, to a resource dll. Is there an easy way to do it, that don't include manually reading every single string from the dll for each form, just like the forms usually handles it?


回答1:


I don't think it'll be that difficult, you just have to create a new project of type class library and move your resource file to that project, when you build that project it'll create the dll and then you just need to refer this dll to your actual project and done.



来源:https://stackoverflow.com/questions/9975305/moving-form-resource-files-to-a-resource-dll

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!