我按照所查资料上说的,先把http://api.map.baidu.com/下载到本地,放到debug里,然后出现如下问题,
private void Form1_Load(object sender, EventArgs e)
{
string str_url = Application.StartupPath + "\\map1.html";
Uri url = new Uri(str_url);
webBrowser1.Url = url;
webBrowser1.ObjectForScripting = this;
}
我用的事xp系统,求大神指点,除了换系统装ie9或ie10,如何能够在调试的时候用别的浏览器。