摘要:
private void btn_Click(object sender, EventArgs e) { DBHelper db = new DBHelper(); DataSet ds = db.GetDataList(); this.dataGridView1.DataSource = ds.T 阅读全文
摘要:
1 //创建一个任务 2 Task<int> task = new Task<int>(() => 3 { 4 int sum = 0; 5 //显示进度条遮照层, 6 this.ShowPrograssBar(); 7 this.InitChartXml(); 8 return sum; 9 }) 阅读全文