how to edit a resource file

久未见 提交于 2019-12-01 12:42:15

问题


i am developing a program in C# and i need to use the integrated resource file it is .txt file i need to save data to it when a button is pressed , lets say the client will press a button and then a value of "1" is saved in that txt file which is in the program resource files


回答1:


You're totally using resources wrong. That being said, you can change resources (add, delete, or modify) using UpdateResource. I don't know if it's exposed in .NET or if y You have to use PInvoke, however, as it's not exposed in .NET. Here's a post that will demonstrate it's use.



来源:https://stackoverflow.com/questions/6398119/how-to-edit-a-resource-file

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