【发布时间】:2021-03-21 13:17:40
【问题描述】:
我想在项目文件夹中创建几个文件夹来保存我的图像。然后我想把这些图片加载到一个PictureBox中。
我现在如何加载 Info_Hydraulik.png 图像?
An image with the path of the file
在此先感谢您的帮助。
火腿
【问题讨论】:
-
pictureBox1.Image = new Bitmap(this.GetType(), "Bu.Hell.Info_Hydraulik.png")。如果位图是嵌入式资源。
标签: c# winforms picturebox