摘要: 刚学c#不久,也不太懂什么IHTMLDocument、IHTMLDocument2、IWebBrowser2等等。自己琢磨了好久,终于知道了怎么用WebBrowser操作frame和iframe。1.获取frame的源文件MessageBox.Show(webBrowser1.Document.Window.Frames["main"].Document.Body.InnerHtml);2.获取frame的HTMLDocument接口HTMLDocument doc =(HTMLDocument)webBrowser1.Document.DomDocument;object 阅读全文
posted @ 2013-11-13 13:36 wy811007 阅读(2133) 评论(0) 推荐(0) 编辑
摘要: 1 using System.Reflection; 2 using System.Runtime.CompilerServices; 3 using System.Runtime.InteropServices; 4 5 using System.Web.UI; 6 7 // 有关程序集的常规信息通过下列属性集 8 // 控制。更改这些属性值可修改 9 // 与程序集关联的信息。10 [assembly: AssemblyTitle("YYControls")]11 [assembly: AssemblyDescription("http://webabcd.c 阅读全文
posted @ 2013-11-13 13:18 wy811007 阅读(2122) 评论(1) 推荐(0) 编辑

Powered by: 博客园 Copyright © wy811007