摘要:
private static void TestTask1() { Console.WriteLine("start TestTask1 "); Task task1 = new Task(() => { Thread.Sleep(3000); Console.WriteLine($"..threa 阅读全文
摘要:
private static void TestTask1() { Console.WriteLine("start TestTask1 "); Task task1 = new Task(() => { Thread.Sleep(3000); Console.WriteLine($"..threa 阅读全文
摘要:
private void btnRunBackgroundWorker_Click(object sender, EventArgs e) { Console.WriteLine($"主线程:{Thread.CurrentThread.ManagedThreadId}"); InitBackgrou 阅读全文
摘要:
class Program { static void Main(string[] args) { Console.WriteLine($"主线程:{Thread.CurrentThread.ManagedThreadId}"); var obj = new MyTestClass(); obj.T 阅读全文
摘要:
方式一: 1 private void btnCalc_Click(object sender, EventArgs e) 2 { 3 new Thread(new ThreadStart(Test)).Start(); 4 } 5 6 private void Test() 7 { 8 if (t 阅读全文
摘要:
/// <summary> /// 函数说明:修改操作系统 电源计划 /// mode说明: 1-平衡 2-节能 3-高性能 4-卓越性能 /// </summary> function SetPowerMode(mode: Integer): Boolean; const arrPolicys: 阅读全文
摘要:
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V 阅读全文
摘要:
无水印无版权高清视频素材 https://pixabay.com/zh/videos/ https://www.pexels.com/zh-cn/videos/ https://wedistill.io/ https://www.motionelements.com/free/stock-foota 阅读全文
|