資源簡介
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
using?System.Diagnostics;
using?System.Threading;
namespace?文件搜索
{
????public?partial?class?MainForm?:?Form
????{
????????///?
????????///?搜索狀態(tài),為true時處于搜索狀態(tài),為false時停止搜索
????????///?
????????private?bool?state?=?false;
????????///?
????????///?文件數(shù)
????????///?
????????private?int?fileCount?=?0;
????????///?
????????///?文件夾數(shù)
????????///?
????????private?int?dirCount?=?0;
????????///?
????????///?搜索起始時刻
????????///?
????????private?DateTime?startTime;
????????///?
????????///?搜索結(jié)束時刻
????????///?
?????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????62464??2013-05-10?00:23??文件搜索\bin\Debug\文件搜索.exe
-----------?---------??----------?-----??----
????????????????62464????????????????????1
評論
共有 條評論