所谓的潇洒

导航

06 2020 档案

子线程更新界面文本
摘要:当在线程中处理完一个事情,需要将结果反馈给界面时,如果直接修改界面文本就会报“在不是创建它的线程中访问控件”的错。在此记录两个处理办法: 1.线程同步 System.Threading.SynchronizationContext _SyncContext = new System.Threadin 阅读全文

posted @ 2020-06-15 16:45 所谓的潇洒 阅读(186) 评论(0) 推荐(0)

FTP操作
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpr 阅读全文

posted @ 2020-06-02 15:18 所谓的潇洒 阅读(514) 评论(0) 推荐(0)