110,502
社区成员
发帖
与我相关
我的任务
分享
<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;
}
[DllImport("*.dll")]
//private static extern 返回值类型 函数名(参数1,参数二);