Question

Hello,

if i come from an URL, is it possible to cut or hide parts from the orginal Webpage in the webBrowser.Net component?

Thanks!

Était-ce utile?

La solution

I implemented your function at WPF as below: Write the below code at DocumentComplete Event:

webbrowser1.Document.getElementById("id1").SetAttribute("style","display:none;");

I think you can follow my way at Windows form

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top