随笔分类 -  Windows Form

摘要:1. 线程同步上下文 SynchronizationContext(线程安全)在构造函数中获取var syncContext=SynchronizationContext.Current;在线程中用syncContext.Post/Send(方法,object)调用方法。 2. 控件.Invoke/ 阅读全文
posted @ 2021-11-15 14:34 努力中的码农