摘要: var data = await _sunnyResultServices.QueryTableSplitByDateAsync(expression,DateTime.Now, "createTime desc"); this.uiDataGridView1.DataSource = data; 阅读全文
posted @ 2022-08-18 09:17 稻花香里说丰年🌸 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1 tokenSource = new CancellationTokenSource(); 2 totalprocesstask = Task.Run( () => { 3 if (isfirst) 4 { 5 TotalTestThreadFunc(isfirst, tokenSource); 阅读全文
posted @ 2022-08-18 09:17 稻花香里说丰年🌸 阅读(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 稻花香里说丰年🌸 阅读(1560) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="ConnectionString" value="server=.;database=Test;uid=sa;pwd=123123" /> < 阅读全文
posted @ 2022-08-18 09:16 稻花香里说丰年&#127800; 阅读(258) 评论(0) 推荐(0) 编辑