c# - How can I change a WebBrowser URL with a button? -


like, on button press changes webbrowser url google.com youtube.com

i tried this, didn't work:

private void button1_click(object sender, eventargs e) {     newsfeedbox.url = ("youtube.com"); } 

try this:

newsfeedbox.navigate("http://youtube.com"); 

Comments

Popular posts from this blog

objective c - Can't build GCM with Protobuf in Xcode -

Perl - how to grep a block of text from a file -

ember.js - EmberJS Model find not up-to-date with underlying store -