文件名称:Thread
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 41kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用 BackgroundWorker 组件进行多线程处理
按 F5 运行该应用程序。
显示窗体时,在 sourceFile 框中输入要测试的文件的路径。 例如,假定测试文件名为 Test.txt,则输入 C:\Test.txt。
在第二个文本框中,输入要让该应用程序在文本文件中搜索的字词或短语。
单击 Start 按钮。 LinesCounted 按钮应当立即开始递增。 在任务完成后,应用程序将显示“计数完成”(Finished Counting) 消息。-Using the BackgroundWorker component multithreading Press F5 to run the application. Form is displayed in the sourceFile box, enter the path to the file you want to test. For example, assume the test file named Test.txt, enter C: \ Test.txt. In the second text box, enter the text to make the application file in a word or phrase in the search. Click the Start button. LinesCounted button should be immediately increased. The task is completed, the application will display " count done" (Finished Counting) message.
按 F5 运行该应用程序。
显示窗体时,在 sourceFile 框中输入要测试的文件的路径。 例如,假定测试文件名为 Test.txt,则输入 C:\Test.txt。
在第二个文本框中,输入要让该应用程序在文本文件中搜索的字词或短语。
单击 Start 按钮。 LinesCounted 按钮应当立即开始递增。 在任务完成后,应用程序将显示“计数完成”(Finished Counting) 消息。-Using the BackgroundWorker component multithreading Press F5 to run the application. Form is displayed in the sourceFile box, enter the path to the file you want to test. For example, assume the test file named Test.txt, enter C: \ Test.txt. In the second text box, enter the text to make the application file in a word or phrase in the search. Click the Start button. LinesCounted button should be immediately increased. The task is completed, the application will display " count done" (Finished Counting) message.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Thread\Thread\Properties\AssemblyInfo.cs
......\......\..........\Resources.resx
......\......\..........\Resources.Designer.cs
......\......\..........\Settings.settings
......\......\..........\Settings.Designer.cs
......\......\Form1.cs
......\......\Form1.Designer.cs
......\......\Program.cs
......\......\Thread.csproj
......\......\bin\Debug\Thread.vshost.exe.manifest
......\......\...\.....\Thread.vshost.exe
......\......\...\.....\Thread.exe
......\......\...\.....\Thread.pdb
......\......\obj\Debug\Thread.Form1.resources
......\......\...\.....\Thread.Properties.Resources.resources
......\......\...\.....\Thread.csproj.GenerateResource.Cache
......\......\...\.....\Thread.pdb
......\......\...\.....\Thread.exe
......\......\...\.....\Thread.csproj.FileListAbsolute.txt
......\......\Form1.resx
......\......\Words.cs
......\Thread.sln
......\Thread.suo
......\......\obj\Debug\TempPE
......\......\...\.....\Refactor
......\......\bin\Debug
......\......\obj\Debug
......\......\Properties
......\......\bin
......\......\obj
......\Thread
Thread
......\......\..........\Resources.resx
......\......\..........\Resources.Designer.cs
......\......\..........\Settings.settings
......\......\..........\Settings.Designer.cs
......\......\Form1.cs
......\......\Form1.Designer.cs
......\......\Program.cs
......\......\Thread.csproj
......\......\bin\Debug\Thread.vshost.exe.manifest
......\......\...\.....\Thread.vshost.exe
......\......\...\.....\Thread.exe
......\......\...\.....\Thread.pdb
......\......\obj\Debug\Thread.Form1.resources
......\......\...\.....\Thread.Properties.Resources.resources
......\......\...\.....\Thread.csproj.GenerateResource.Cache
......\......\...\.....\Thread.pdb
......\......\...\.....\Thread.exe
......\......\...\.....\Thread.csproj.FileListAbsolute.txt
......\......\Form1.resx
......\......\Words.cs
......\Thread.sln
......\Thread.suo
......\......\obj\Debug\TempPE
......\......\...\.....\Refactor
......\......\bin\Debug
......\......\obj\Debug
......\......\Properties
......\......\bin
......\......\obj
......\Thread
Thread