I use a Windows form application with a webBrowser to navigate on the internet. How can I close the application when a specific URL is load?
I use the following code to load the first web page:
webBrowser1.Navigate("www.google.com");
The following pages are loaded using the search engine.