摘要: <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="Microsoft Visual Studio Offline Packages" value="E:\NuGetPackages\"/ 阅读全文
posted @ 2023-03-15 10:00 稻花香里说丰年&#127800; 阅读(12) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2023-03-14 10:11 稻花香里说丰年&#127800; 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-08 14:36 稻花香里说丰年&#127800; 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1 tokenSource = new CancellationTokenSource(); 2 totalprocesstask = Task.Run( () => { 3 if (isfirst) 4 { 5 TotalTestThreadFunc(isfirst, tokenSource); 阅读全文
posted @ 2022-08-18 09:17 稻花香里说丰年&#127800; 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1、声明委托 public delegate void ShowMessage2Form(string message); 2、声明事件 static public event ShowMessage2Form ShowMessage; 3、事件绑定 LogHelper.ShowMessage += 阅读全文
posted @ 2022-08-18 09:17 稻花香里说丰年&#127800; 阅读(1560) 评论(0) 推荐(0) 编辑
摘要: 1 private void InitARListView() 2 { 3 int count = arListView1.Items.Count; 4 arListView1.Items.Clear(); 5 //for (int i = arListView1.Items.Count - 1; 阅读全文
posted @ 2022-08-16 09:49 稻花香里说丰年&#127800; 阅读(23) 评论(0) 推荐(0) 编辑
摘要: nuget官网:https://www.nuget.org/packages 1、新建nuget离线包文件夹,将官网所需包下载至该文件夹下(相关依赖包也要下载,注意版本); 2、VS包源增加引用源,点击安装即可 阅读全文
posted @ 2022-08-16 09:47 稻花香里说丰年&#127800; 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-08-16 09:44 稻花香里说丰年&#127800; 阅读(12) 评论(0) 推荐(0) 编辑