We need 3 things to make webbrowser.(TextBox, Button ve WebBrowser)
The button will navigate webbrowser to textbox's text.
Into our button :
WebBrowser1.Navigate(TextBox1.text);
Our program will lead us to what we wrote in textbox by substructure of internet explorer. Actually we are not programming a real webbrowser here, programming webbrowser is not a small dial.
We can add 4 button more.(back, forwad, reflesh, stop)
The button Back will lead us to previous page.
WebBrowser1.GoBack();
The button Forwad will lead us to next page that we opened before.
WebBrowser1.GoForwad();
The button Reflesh will reflesh our page.
WebBrowser1.Reflesh();
The button Stop bill stop procces of opening page.
WebBrowser1.Stop();
If you want to add extra feature, you can change name of form while webbrowser navigating. Into event navigated of WebBrowser1 :
this.Text = WebBrowser.DocumentTitle.ToString();
Thats it, program is finished.
Yesterday i decided to program a WebBrowser which is gonna huge dial. it may take long time. Webbrowsers name will be Cenet Browser, and there will be turkish language and english language. I will use substructure of internet explorer. I'm sure it will be useful for users.