onlyou13

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 ··· 10 下一页

2022年4月12日

摘要: private static void TestTask1() { Console.WriteLine("start TestTask1 "); Task task1 = new Task(() => { Thread.Sleep(3000); Console.WriteLine($"..threa 阅读全文
posted @ 2022-04-12 09:26 onlyou13 阅读(80) 评论(0) 推荐(0) 编辑

2022年4月10日

摘要: private void btnRunBackgroundWorker_Click(object sender, EventArgs e) { Console.WriteLine($"主线程:{Thread.CurrentThread.ManagedThreadId}"); InitBackgrou 阅读全文
posted @ 2022-04-10 18:38 onlyou13 阅读(139) 评论(0) 推荐(0) 编辑

摘要: class Program { static void Main(string[] args) { Console.WriteLine($"主线程:{Thread.CurrentThread.ManagedThreadId}"); var obj = new MyTestClass(); obj.T 阅读全文
posted @ 2022-04-10 18:04 onlyou13 阅读(859) 评论(0) 推荐(0) 编辑

摘要: 方式一: 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 阅读全文
posted @ 2022-04-10 18:01 onlyou13 阅读(155) 评论(0) 推荐(0) 编辑

2021年10月27日

摘要: /// <summary> /// 函数说明:修改操作系统 电源计划 /// mode说明: 1-平衡 2-节能 3-高性能 4-卓越性能 /// </summary> function SetPowerMode(mode: Integer): Boolean; const arrPolicys: 阅读全文
posted @ 2021-10-27 14:24 onlyou13 阅读(206) 评论(0) 推荐(0) 编辑

2021年8月24日

该文被密码保护。 阅读全文
posted @ 2021-08-24 19:15 onlyou13 阅读(4) 评论(0) 推荐(0) 编辑

该文被密码保护。 阅读全文
posted @ 2021-08-24 10:06 onlyou13 阅读(2) 评论(0) 推荐(0) 编辑

2021年8月23日

摘要: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V 阅读全文
posted @ 2021-08-23 19:01 onlyou13 阅读(536) 评论(0) 推荐(0) 编辑

2021年8月16日

该文被密码保护。 阅读全文
posted @ 2021-08-16 15:35 onlyou13 阅读(2) 评论(0) 推荐(0) 编辑

2021年7月13日

摘要: 无水印无版权高清视频素材 https://pixabay.com/zh/videos/ https://www.pexels.com/zh-cn/videos/ https://wedistill.io/ https://www.motionelements.com/free/stock-foota 阅读全文
posted @ 2021-07-13 20:53 onlyou13 阅读(704) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 10 下一页