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
Post a Comment