lundi 29 mai 2017

Visual Studio URL doesn't change

i have a webBrowser in my application, and when i go from www.google.com to http://ift.tt/2r4IcbM, my code still says im on www.google.com. Why?

Code:

public Form1()
        {
            InitializeComponent();
            webBrowser1.Navigate("http://www.google.com/");
        }


private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show(webBrowser1.Url.ToString());
        }



It shows always www.google.com




Aucun commentaire:

Enregistrer un commentaire