예제 #1
0
        private void Go_Click(object sender, RoutedEventArgs e)
        {
            var sharpHtml = new SharpHtml(new Uri(Url.Text));

            Browser.ObjectForScripting = new HtmlInterop(sharpHtml.SharpAssemblies, sharpHtml.SharpCode);
            Browser.NavigateToString(sharpHtml.Document.DocumentNode.OuterHtml);
        }
예제 #2
0
 private void Go_Click(object sender, RoutedEventArgs e)
 {
     var sharpHtml = new SharpHtml(new Uri(Url.Text));
     Browser.ObjectForScripting = new HtmlInterop(sharpHtml.SharpAssemblies, sharpHtml.SharpCode);
     Browser.NavigateToString(sharpHtml.Document.DocumentNode.OuterHtml);
 }