阅读背景:

在.NET中,当我在另一个线程中运行表单时,如何设置STAThread?

来源:互联网 

I'm running a form in a second thread. If I do Ctrl-C to copy text on the clipboard, I get an Exception, "Current thread must be set to a single thread apartment (STA) before OLE calls can be made. (Using the clipboard involves OLE apparently).I'm running a form in a second thread. If I do




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: