用c#实现多线程的小程序

时间:2012-05-27 14:52:07
【文件属性】:
文件名称:用c#实现多线程的小程序
文件大小:88KB
文件格式:RAR
更新时间:2012-05-27 14:52:07
多线程 ThreadStart start = new ThreadStart(Work); Thread thread = new Thread(start); thread.Start(); thread.Suspend(); Thread.Sleep(3000); Console.WriteLine("挂起后继续执行线程"); thread.Resume();
【文件预览】:
WinFormTest.sln
WinFormthread
----bin()
--------Debug()
----obj()
--------Debug()
----Properties()
--------AssemblyInfo.cs(1KB)
----Program.cs(802B)
----WinConsolethread.csproj(2KB)
WinFormClockThread
----Form1.cs(2KB)
----bin()
--------Debug()
----obj()
--------Debug()
----Properties()
--------Resources.Designer.cs(3KB)
--------Settings.settings(249B)
--------Resources.resx(5KB)
--------Settings.Designer.cs(1KB)
--------AssemblyInfo.cs(1KB)
----Program.cs(499B)
----Form1.Designer.cs(3KB)
----WinFormClockThread.csproj(4KB)
----Form1.resx(6KB)
WinFormMulThread
----Form1.cs(3KB)
----bin()
--------Debug()
----obj()
--------Debug()
----Properties()
--------Resources.Designer.cs(3KB)
--------Settings.settings(249B)
--------Resources.resx(5KB)
--------Settings.Designer.cs(1KB)
--------AssemblyInfo.cs(1KB)
----Program.cs(497B)
----Form1.Designer.cs(4KB)
----WinFormMulThread.csproj(4KB)
----Form1.resx(6KB)

网友评论