需要在C#中如何访问嵌入的净图像资源为例code [英] Example code required for how to access embedded .Net image resources in C#
本文介绍了需要在C#中如何访问嵌入的净图像资源为例code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这很容易标记的图像文件成为一个嵌入的资源如何做一个访问图像此后但是。请我可以有一些例如code?
It's very easy to mark an image file to become an embedded resource however how does one access the image thereafter. Please can I have some example code?
推荐答案
最直接的方法:
YourProjectsBaseNamespace.Properties.Resources.YourImageResourceName
这篇关于需要在C#中如何访问嵌入的净图像资源为例code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文