When I do something like this
webBrowser1 = new WebBrowser();
webBrowser1.Url = new Uri("http://google.com");
webBrowser1.Navigate("http://google.com");
all I get is a blank window. when I step through this webBrowser1.Url stays = null after the second statement has executed. Why is that?
if I set the url property before I compile the web site loads correctly when I open the form. So why can't I load a site dynamically?