-->

Open offline html file programmatically in windows

2019-04-30 15:33发布

问题:

I am building an application in windows phone 7. I have some user guide in HTML. I want to use a web-browser to open these files whenever user touches Help menu. But I don't know how to get the local URLs of these files. Could you help me please?

Thanks so much!

回答1:

You can navigate to HTML stored in isolated storage using a Relative Uri. More details and sample code here.

How to: Display Static Web Content Using the WebBrowser Control for Windows Phone