本文介绍了在C#Windows窗体中重新生成路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将图像保存在Resouces文件夹中.我想一张一张地获得图像的路径.即图像名称将动态更改.路径是静态的.例如:"c:test \ Resouces \ p1.png" ,"c:test \ Resouces \ p2.png" ...如何操作?
I saved images in Resouces folder. I want to get the path of image one by one. That is image name will change dynamically. Path is static. For Eg: "c:test\Resouces\p1.png" ,"c:test\Resouces\p2.png"...How to do?
推荐答案
Properties.Resources.YourImage;
这篇关于在C#Windows窗体中重新生成路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!