110,538
社区成员
发帖
与我相关
我的任务
分享
this.Invoke(new Action(() =>
{
Your Code
}));
Thread initThr = new Thread(InitDevice);
initThr.SetApartmentState(ApartmentState.STA);
initThr.IsBackground = true;
initThr.Start();