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

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

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -