Esempio n. 1
0
 //获取Rich Content
 void GetRichContent(string uri, UriKind uk)
 {
     Container.Children.Clear();
     ControlHtmlHost chtml = new ControlHtmlHost();
     HtmlHost hh = chtml.FindName("htmlHost") as HtmlHost;
     hh.SourceUri = new Uri(uri, uk);
     Container.Children.Add(chtml);
 }
Esempio n. 2
0
        //获取Rich Content
        void GetRichContent(string uri, UriKind uk)
        {
            Container.Children.Clear();
            ControlHtmlHost chtml = new ControlHtmlHost();
            HtmlHost        hh    = chtml.FindName("htmlHost") as HtmlHost;

            hh.SourceUri = new Uri(uri, uk);
            Container.Children.Add(chtml);
        }