Web Browser In Windows Forms Application
July 10th, 2008Placing a web browser in your windows forms application could not be easier. All you need to do is place the WebBrowser control
on your Form in designer and then use the Navigate method on WebBrowser control to visit a web address. Here is a simple form I have created and handled the click event of button to navigate to a Url.
private void buttonGo_Click(object sender, EventArgs e) { webBrowser.Navigate(textBoxAddress.Text); }
It does not take more than few seconds to get this going. IMO one of the easiest controls to work with.