文件名称:线程经典例子 Thread
文件大小:22KB
文件格式:RAR
更新时间:2012-06-30 11:12:55
线程
一个线程经典例子 Thread delegate void SetProgressBarValueDele(); void SetProgressBarValue() { if (this.progressBar1.InvokeRequired) { this.Invoke(new SetProgressBarValueDele(SetProgressBarValue)); } else { if (this.progressBar1.Value < this.progressBar1.Maximum) { this.progressBar1.Value += 1; } else { this.progressBar1.Value = 0; }
【文件预览】:
ThreadDemo
----ThreadDemo.suo(10KB)
----ThreadDemo.sln(920B)
----ThreadDemo()
--------ThreadDemo.csproj(2KB)
--------bin()
--------obj()
--------Properties()
--------Program.cs(2KB)