C#获取资源中的图片文件

 

 

 

                  System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainFrm));
                   Image miniqrcode = (System.Drawing.Image)(resources.GetObject("miniqrcode.Image"));//miniqrcode.png图片

                    Image miniqrcode1 = Properties.Resources.miniqrcode;//miniqrcode.png图片

 

 

转 : https://blog.csdn.net/ayman_zawahiri/article/details/83625312

 

https://www.cnblogs.com/suenihy/archive/2009/03/13/1410792.html

上一篇:配置 mybatis-config


下一篇:Maven中资源无法导出