最新消息:20210917 已从crifan.com换到crifan.org

标签:C#

【记录】C#中使用WebBrowser浏览google页面
C#

【记录】C#中使用WebBrowser浏览google页面

crifan 11年前 (2013-06-26) 4172浏览 0评论

【背景】 C#中,需要用WebBrowser模拟浏览器访问页面。 且需要能捕获到用户的点击事件,然后执行一些动作。 此处是: 能访问google搜索。 能得到当前的html。 能捕获到点google搜索结果中的第几页后, 再去获得最新的html,然后...

【已解决】C#中给当前TreeNode添加子节点
C

【已解决】C#中给当前TreeNode添加子节点

crifan 11年前 (2013-06-22) 5453浏览 0评论

【背景】 C#中折腾TreeView。 已经给当前某个TreeNode赋值了。 现在想要给其添加子节点。 【解决过程】 1.参考自己之前的: 1.1.2. 给TreeView添加图标 看到有 Nodes.Add 所以就可以去写代码了: ...

78 queries in 0.172 seconds, using 23.29MB memory