嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
WinForm C#多线程等待窗体
由于用到了非托管资源,最简单的方式是把托管资源(WaitForm)放在工作线程,线程结束,窗体会自动销毁,不用自己写清理代码。 ShowDialog自动阻塞当前线程,这使它成为最优的解决方式。
.
├── WaitForm
│ ├── WaitForm
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── Resources
│ │ │ └── Progressbar.gif
│ │ ├── WaitForm.Designer.cs
│ │ ├── WaitForm.cs
│ │ ├── WaitForm.csproj
│ │ ├── WaitForm.resx
│ │ ├── WaitForm.suo
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── Progressbar.gif
│ │ │ ├── WaitForm.exe
│ │ │ ├── WaitForm.pdb
│ │ │ └── WaitForm.vshost.exe
│ │ └── obj
│ │ ├── WaitForm.csproj.FileListAbsolute.txt
│ │ └── x86
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GenerateResource-ResGen.read.1.tlog
│ │ ├── GenerateResource-ResGen.read.4.tlog
│ │ ├── GenerateResource-ResGen.write.1.tlog
│ │ ├── Sun.ToolKit.Properties.Resources.resources
│ │ ├── Sun.ToolKit.WaitForm.resources
│ │ ├── Sun.ToolKit.frmMain.resources
│ │ ├── TempPE
│ │ │ └── Properties.Resources.Designer.cs.dll
│ │ ├── WaitForm.csproj.FileListAbsolute.txt
│ │ ├── WaitForm.exe
│ │ └── WaitForm.pdb
│ ├── WaitForm.sln
│ └── WaitForm.suo
└── WinForm C#多线程等待窗体.rar
10 directories, 34 files