会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
骑着金猪看日出
我孤独的漫游,像云一样...
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
WPF
WPF使用Webbrowser操作网页的主要代码
摘要:1,引用mshtml.dll using mshtml; 2,获取元素属性值 IHTMLDocument2 doc2=(IHTMLDocument)webbrowser1.Document; IHTMLElement img=(IHTMLElement)doc2.all.item("regimg",0); string imgUrl=(string)img.getAttribute("src...
阅读全文
posted @
2018-02-26 13:24
大da脸
阅读(952)
评论(0)
推荐(0)
公告