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
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!
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