How can i pass the URL property in web browser into an if statement....
private void button2_Click(object sender, EventArgs e)
{
var GameStats = comboBox1.Text;
if (GameStats == "BattleField: Bad Company 2")
{
//Make URL equ开发者_Go百科al to http://statsverse.com/
}
}
Use WebBrowser.Navigate()
Try webBrowser1.Navigate("http://statsverse.com/");
精彩评论