线程

 

判断线程是否是主线程

System.Threading.Thread.CurrentThread.ApartmentState 

STA 为主线程

MTA 

posted @ 2019-01-22 18:45  JeffreyGoogle  阅读(123)  评论(0)    收藏  举报