The following code example demonstrates how to use the Stop method to implement a Stop button for the WebBrowser control similar to the one in Internet Explorer. This example requires that your form contains a WebBrowser control called webBrowser1 and a Button control called ButtonStop.