阅读背景:

在C#中从相对路径的文件中加载图片框图像

来源:互联网 

I have a picturebox image in a Windows Form Solution. After user selects an item from a database, I want to load an image into this picturebox. The filename of the image will come from the database and all images must be stored in a subfolder of the application folder (\Images). I don't want to include all these (2000-3000 images) in my solution, besides, more images will be added by users as the database grows. Also, I don't want to code an absolute path. So this is not what I want:I have a picturebox image in a Windows Form Sol




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: