在 Awesomium 中使用嵌入式资源,如 WebControl.Source [英] Use embedded resource like WebControl.Source in Awesomium

查看:25
本文介绍了在 Awesomium 中使用嵌入式资源,如 WebControl.Source的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在我的应用程序中获取嵌入资源 (.html) 的 URL,我可以像 WebControl.Source 的值一样使用它?或者有什么更好的方式打开嵌入式资源?

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?

推荐答案

嵌入式资源没有 URL,而是可以使用其命名空间进行引用.阅读有关如何使用嵌入式资源的信息:

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

在 stackoverflow 上也有多个问题和答案:

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

如何读取嵌入的资源文本文件

这篇关于在 Awesomium 中使用嵌入式资源,如 WebControl.Source的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆