Use embedded resource like WebControl.Source in Awesomium

心已入冬 提交于 2020-01-17 08:14:06

问题


How I can get URL of embedded resource(.html) in my app which I can use like a value of WebControl.Source? Or what better way to open embedded resources?


回答1:


Embedded Resources do not have an URL instead the can be referenced with their namespace. Read about how to use embedded Resources:

http://www.codeproject.com/Articles/3089/Understanding-Embedded-Resources-in-Visual-Studio

There are also multiple questions and answers for this on stackoverflow:

How to read embedded resource text file



来源:https://stackoverflow.com/questions/28531345/use-embedded-resource-like-webcontrol-source-in-awesomium

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!