winform程序如何调用google api? winform程序如何调用google api?比如google maps api在winform程序里如何调用呢?看到的好像都是js调用的 网页方式 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 [DllImport("*.dll")]//private static extern 返回值类型 函数名(参数1,参数二); <html xmlns="http://www.w3.org/1999/xhtml"> <head></head> <body> <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://ditu.google.cn/maps?hl=zh-CN&q=www.google&ie=UTF8&brcurrent=3,0x31508e64e5c642c1:0x951daa7c349f366f%3B5,0&ll=35.140093,112.081146&spn=9.707642,16.037571&output=embed"></iframe><br /> </body></html>[code=C#]public Form1() { InitializeComponent(); string str = null; StreamReader sr = new StreamReader("../../HTMLPage2.htm", Encoding.Default); webBrowser1.Navigate("about:blank"); webBrowser1.Document.OpenNew(true); str = sr.ReadToEnd(); webBrowser1.DocumentText = str; }[/code] 这跟调用google map api 不是一回事吧?? 你直接在html用JS调用修改就行了,然后后台就不用变 如何将我整个Form的控件导出Excel 项目文件引用dll的问题 根据线程安全的相关知识 请教Just-In-Time(JIT)编译器的问题 窗体之间的传值问题 请问.可否把一个DATATABLE直接转换为XmlDocument? 怎样在。NET2003C#中给菜单项前面加图标?(在线等) C#中反射用法一问 c#图形报表开发(Winform) SQL 简单问题 用正则表达式在匹配后替换匹配的汉字字符串 Onpaint函数和窗体Load事件
//private static extern 返回值类型 函数名(参数1,参数二);
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://ditu.google.cn/maps?hl=zh-CN&q=www.google&ie=UTF8&brcurrent=3,0x31508e64e5c642c1:0x951daa7c349f366f%3B5,0&ll=35.140093,112.081146&spn=9.707642,16.037571&output=embed"></iframe><br />
</body>
</html>[code=C#]
public Form1()
{
InitializeComponent(); string str = null; StreamReader sr = new StreamReader("../../HTMLPage2.htm", Encoding.Default); webBrowser1.Navigate("about:blank"); webBrowser1.Document.OpenNew(true); str = sr.ReadToEnd(); webBrowser1.DocumentText = str; }[/code]
这跟调用google map api 不是一回事吧??
你直接在html用JS调用修改就行了,然后后台就不用变