(1)该资源dll(resDll)的编译,在引入图片文件后(在Resources目录下),右击:属性:生成的操作:嵌入资源
(2)在另外的文件中引入该资源文件,然后以下程序即可进行调用:
(3)
pictureBox1.Image = a.getImage("HW.bmp");
(1)该资源dll(resDll)的编译,在引入图片文件后(在Resources目录下),右击:属性:生成的操作:嵌入资源
(2)在另外的文件中引入该资源文件,然后以下程序即可进行调用:
(3)
pictureBox1.Image = a.getImage("HW.bmp");