摘要: I/O should use async, asynchronous method can be achieved:message, delegate, multi-threadingThread-safe1. private void button_Click(object sender, EventArgs e) 2. { 3. var task = new Task(() => 4. { 5. this.lblResult.Invoke(new Action (() => { 6. ... 阅读全文
posted @ 2013-11-14 09:49 MinieGoGo 阅读(328) 评论(0) 推荐(0) 编辑