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