Click here to Skip to main content
15,885,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to show a picture on a window's form while the webbrowser is loading the page and hiding it once the page is complete.
Posted

1 solution

Show the picture before navigation and remove it in response to the event System.Windows.Forms.WebBrowser.DocumentCompleted:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.documentcompleted.aspx[^].

Optionally, override the virtual method System.Windows.Forms.WebBrowser.OnDocumentCompled in a derived class:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.ondocumentcompleted.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900