资源简介

实例非常简单,稍加修改即可 换成采集其它网站数据

资源截图

代码片段和文件信息

using AnalysisTool.Model;
using AnalysisTool.Spider;
using AnalysisTool.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AnalysisTool
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnStart_Click(object sender EventArgs e)
        {
            timer1.Interval = 1000 * Convert.ToInt32(this.txtInteral.Text);
            timer1.Start();
        }

        private void timer1_Tick(object sender EventArgs e)
        {
            var helper = new CSDNer();
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        5570  2018-04-17 22:31  AnalysisTool.csproj
     文件         257  2018-04-16 23:36  AnalysisTool.csproj.vspscc
     文件         400  2018-04-17 22:15  App.config
     目录           0  2018-04-17 22:33  DB\
     文件     8388608  2018-04-17 22:32  DB\SpiderDB.mdf
     文件     8388608  2018-04-17 22:32  DB\SpiderDB_log.ldf
     文件        2274  2018-04-17 22:30  DB\spiderdb.sql
     文件        4740  2018-04-17 22:29  Form1.Designer.cs
     文件        1509  2018-04-17 22:29  Form1.cs
     文件        6011  2018-04-17 22:29  Form1.resx
     目录           0  2018-04-17 00:19  Model\
     文件         880  2018-04-17 00:19  Model\OrderInfo.cs
     文件         524  2018-04-16 23:36  Program.cs
     目录           0  2018-04-16 23:36  Properties\
     文件        1322  2018-04-16 23:36  Properties\AssemblyInfo.cs
     文件        2837  2018-04-16 23:36  Properties\Resources.Designer.cs
     文件        5612  2018-04-16 23:36  Properties\Resources.resx
     文件        1099  2018-04-16 23:36  Properties\Settings.Designer.cs
     文件         249  2018-04-16 23:36  Properties\Settings.settings
     目录           0  2018-04-17 21:24  Spider\
     文件        2483  2018-04-17 21:24  Spider\CSDNer.cs
     目录           0  2018-04-17 07:51  Utils\
     文件        5810  2018-04-17 00:22  Utils\CommonBLL.cs
     文件        1054  2018-04-17 07:46  Utils\OutPrinter.cs
     文件        1922  2018-04-17 07:51  Utils\ThreadInvoke.cs
     目录           0  2018-04-16 23:36  bin\
     目录           0  2018-04-17 08:22  bin\Debug\
     文件       19968  2018-04-17 22:29  bin\Debug\AnalysisTool.exe
     文件         400  2018-04-17 22:15  bin\Debug\AnalysisTool.exe.config
     文件       48640  2018-04-17 22:29  bin\Debug\AnalysisTool.pdb
     文件      144896  2018-03-09 00:28  bin\Debug\Dapper.dll
............此处省略30个文件信息

评论

共有 条评论