摘要:
var data = await _sunnyResultServices.QueryTableSplitByDateAsync(expression,DateTime.Now, "createTime desc"); this.uiDataGridView1.DataSource = data; 阅读全文
摘要:
1 tokenSource = new CancellationTokenSource(); 2 totalprocesstask = Task.Run( () => { 3 if (isfirst) 4 { 5 TotalTestThreadFunc(isfirst, tokenSource); 阅读全文
摘要:
1、声明委托 public delegate void ShowMessage2Form(string message); 2、声明事件 static public event ShowMessage2Form ShowMessage; 3、事件绑定 LogHelper.ShowMessage += 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="ConnectionString" value="server=.;database=Test;uid=sa;pwd=123123" /> < 阅读全文