且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows窗体中的资源问题

更新时间:2023-12-06 12:15:34

向您的项目中添加一个新的资源文件,创建图像,并将每个图像的Copy To Output Directory属性设置为Copy If Newer. />
这样,如果您在第一次运行该应用程序后更改任何图像,则更改后的图像将保留.
Add a new resource file to your project, create your images, and for each one, set the Copy To Output Directory property to Copy If Newer.

That way, if you change any of your images after running the application the first time, your changed images will remain.