資源簡介
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Net;
using?System.Threading;
namespace?BackgroundWorkerExample
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????????backgroundWorker1.WorkerReportsProgress?=?true;
????????????backgroundWorker1.WorkerSupportsCancellation?=?true;
????????????buttonstop.Enabled?=?false;
????????}
????????private?void?buttonstart_Click(object?sender?EventArgs?e)
????????{
????????????richTextBox1.Text?=?“開始產生10000以內的隨機數……\n\n“;
????????????buttonstart.Enabled?=?false;
????????????buttonstop.Enabled?=?true;
????????????//在后臺開始操作
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3785??2010-07-16?09:42??CHAP2Thread\BackgroundWorkerExample\BackgroundWorkerExample.csproj
?????文件??????10240??2009-03-20?22:10??CHAP2Thread\BackgroundWorkerExample\bin\Debug\BackgroundWorkerExample.exe
?????文件??????24064??2009-03-20?22:10??CHAP2Thread\BackgroundWorkerExample\bin\Debug\BackgroundWorkerExample.pdb
?????文件??????14328??2010-07-16?09:34??CHAP2Thread\BackgroundWorkerExample\bin\Debug\BackgroundWorkerExample.vshost.exe
?????文件????????490??2007-07-21?01:33??CHAP2Thread\BackgroundWorkerExample\bin\Debug\BackgroundWorkerExample.vshost.exe.manifest
?????文件???????2721??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\Form1.cs
?????文件???????4840??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\Form1.designer.cs
?????文件???????6019??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\Form1.resx
?????文件???????2900??2010-08-10?10:43??CHAP2Thread\BackgroundWorkerExample\obj\Debug\BackgroundWorkerExample.csproj.FileListAbsolute.txt
?????文件????????847??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\obj\Debug\BackgroundWorkerExample.csproj.GenerateResource.Cache
?????文件??????10752??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\obj\Debug\BackgroundWorkerExample.exe
?????文件????????180??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\obj\Debug\BackgroundWorkerExample.Form1.resources
?????文件??????26112??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample\obj\Debug\BackgroundWorkerExample.pdb
?????文件????????180??2010-07-16?09:42??CHAP2Thread\BackgroundWorkerExample\obj\Debug\BackgroundWorkerExample.Properties.Resources.resources
?????文件????????504??2009-03-20?22:09??CHAP2Thread\BackgroundWorkerExample\Program.cs
?????文件???????1386??2009-03-20?22:09??CHAP2Thread\BackgroundWorkerExample\Properties\AssemblyInfo.cs
?????文件???????2896??2009-03-20?22:09??CHAP2Thread\BackgroundWorkerExample\Properties\Resources.Designer.cs
?????文件???????5612??2009-03-20?22:09??CHAP2Thread\BackgroundWorkerExample\Properties\Resources.resx
?????文件???????1108??2009-03-20?22:09??CHAP2Thread\BackgroundWorkerExample\Properties\Settings.Designer.cs
?????文件????????249??2009-03-20?22:09??CHAP2Thread\BackgroundWorkerExample\Properties\Settings.settings
?????文件??????10752??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample.exe
?????文件??????26112??2010-07-16?09:47??CHAP2Thread\BackgroundWorkerExample.pdb
?????文件??????14328??2010-08-10?10:43??CHAP2Thread\BackgroundWorkerExample.vshost.exe
?????文件????????490??2007-07-21?01:33??CHAP2Thread\BackgroundWorkerExample.vshost.exe.manifest
?????文件???????3427??2010-08-10?15:26??CHAP2Thread\CHAP2Thread.sln
????..A..H.?????49664??2010-10-12?16:02??CHAP2Thread\CHAP2Thread.suo
?????文件???????6144??2010-10-12?15:51??CHAP2Thread\EventConsole\bin\Debug\EventConsole.exe
?????文件??????17920??2010-10-12?15:51??CHAP2Thread\EventConsole\bin\Debug\EventConsole.pdb
?????文件??????14328??2010-10-12?15:50??CHAP2Thread\EventConsole\bin\Debug\EventConsole.vshost.exe
?????文件????????490??2007-07-21?01:33??CHAP2Thread\EventConsole\bin\Debug\EventConsole.vshost.exe.manifest
............此處省略160個文件信息
- 上一篇:信息管理系統
- 下一篇:C# 高仿window 自帶 記事本程序
評論
共有 條評論