资源简介
多线程、异步
代码片段和文件信息
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.Windows.Forms;
namespace MultiThreadAsyncDemo
{
public partial class Form1 : Form
{
delegate void Task_Event(int rowIndex string status);
public Form1()
{
InitializeComponent();
}
void ShowStatus(int rowIndex string status)
{
for (int i = 0; i < this.listBox1.Items.Count; i++)
{
this.listBox1.Items[i] = “【“+status+“】“+this.listBox1.Items[i].ToString().Split(new string[] { “】“ } StringSplitOptions.None)[1];
}
}
private void btnStart_Clic
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-12-27 23:36 MultiThreadAsyncDemo\
目录 0 2012-12-27 23:50 MultiThreadAsyncDemo\MultiThreadAsyncDemo\
目录 0 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\bin\
目录 0 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\bin\Debug\
文件 10240 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\bin\Debug\MultiThreadAsyncDemo.exe
文件 24064 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\bin\Debug\MultiThreadAsyncDemo.pdb
文件 22472 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\bin\Debug\MultiThreadAsyncDemo.vshost.exe
文件 490 2010-03-17 22:39 MultiThreadAsyncDemo\MultiThreadAsyncDemo\bin\Debug\MultiThreadAsyncDemo.vshost.exe.manifest
文件 1538 2012-12-27 23:55 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Form1.cs
文件 3273 2012-12-27 23:45 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Form1.Designer.cs
文件 5817 2012-12-27 23:45 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Form1.resx
文件 3788 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\MultiThreadAsyncDemo.csproj
文件 929 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\MultiThreadAsyncDemo.sln
文件 34304 2012-12-27 23:43 MultiThreadAsyncDemo\MultiThreadAsyncDemo\MultiThreadAsyncDemo.v11.suo
目录 0 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\
目录 0 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\
文件 863 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6857 2012-12-27 23:50 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 842 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.csproj.FileListAbsolute.txt
文件 975 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.csproj.GenerateResource.Cache
文件 2209 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.csprojResolveAssemblyReference.cache
文件 10240 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.exe
文件 180 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.Form1.resources
文件 24064 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.pdb
文件 180 2012-12-27 23:57 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\MultiThreadAsyncDemo.Properties.Resources.resources
目录 0 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\obj\Debug\TempPE\
文件 501 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Program.cs
目录 0 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Properties\
文件 1378 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Properties\AssemblyInfo.cs
文件 2892 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Properties\Resources.Designer.cs
文件 5612 2012-12-27 23:36 MultiThreadAsyncDemo\MultiThreadAsyncDemo\Properties\Resources.resx
............此处省略3个文件信息
相关资源
- 模拟器命令C#封装
- ModbusMonitor VS2010 winform Csharp 开发的一
- TCPFILE C#TCP多线程异步传输 C#开发的服
- cSharpUART c#编写串口通讯代码 多线程实
- Visual C#中的多线程编程
- c# Winform 弹出式等待窗口,多线程
- C#多线程解决界面卡死问题的完美解决
- C#实现多线程TCPUDP端口扫描
- C#通用的跨线程读写控件属性类
- C#多线程发送邮件发送工资条
- C#网络爬虫程序源码
- C#处理大容量数据,及多线程简单应用
- c# 多线程操作源码
- C# 多线程网络美女图片
- 多线程异步加载网络数据 完整源码
- c# 多线程
- 基于C/S模式在线聊天室系统源码(服
- ProcessBar多线程异步刷新附带保存软件
- C#图像交互与多线程
- C# halcon一维码、二维码多线程识别、
- c# 多线程更新WPF界面
- 多线程更新UI窗口
- asp.net 多线程 支持 断点续传
- SQLite多线程写入 出现锁文件的解决方
- Redis多线程 批量插入 性能测试
- C#读取大文本文件(12G)然后多线程批
- C#多线程学习
- 多线程下访问控件的方式,支持跨线
- C#初学者,多线程入门
- 多线程 Semaphore
评论
共有 条评论