- 51aspx源码必读.txt[1KB]
- Form1.cs[6KB]
- Form1.Designer.cs[5KB]
- Form1.resx[5KB]
- GatherPic.csproj[3KB]
- Program.cs[505B]
- from.gif[4KB]
- GatherPic.sln[907B]
- GatherPic.suo[13KB]
- 最新Asp.Net源码下载.url[125B]
源码介绍
图片采集器源码
程序界面非常简单,只需要填写3个文本信息就能轻松获得网站上的图片文件,一定要注意填写文件后缀名称。本程序主要的类GatherPic实现了图片文件的查找功能,最后调用GetRegCodePic,GetRegCodePic实现了保存功能。
主要实现的函数:
//判断文件夹是否存在。不存在则创建
private void CreateFolter()
//开始采集
public bool start()
//检查出所有图片并采集到本地 调用了GetRegCodePic类
public void SearchImgList()
//取得所有图片地址,运用WebBrowser对象中Document.GetElementsByTagName函数读取页面中的图片元素。
HtmlElementCollection elemColl = this.wb.Document.GetElementsByTagName("img");
上传者:chennie
下载地址:http://win.51aspx.com/CV/GatherPic
下载记录(Only Recent 100)
用户名 | 推荐指数 | 下载时间 |
---|