04 2020 档案

摘要:using System.Threading.Tasks; using System.Threading; using System.Net.Sockets; using System.Net; Task t = new Task(() => { //To Do you code 也可以在这直接调用 阅读全文
posted @ 2020-04-28 00:02 狗狗王 阅读(561) 评论(0) 推荐(0)
摘要:1 ① 2 Control.CheckForIllegalCrossThreadCalls = false;//关闭安全检查,为了安全一般不采用此代码 3 4 5 ② 6 一般多线程代码:不能实现跨线程数据交互: 7 Thread thread = new Thread(new ThreadStar 阅读全文
posted @ 2020-04-21 00:02 狗狗王 阅读(2056) 评论(0) 推荐(0)