Closed UIViewController-1 closed 4 years ago
C# WinForm
What is your question exactly?
The Thread Apartment Is Not In STAThread
,I Should Add STAThreadAttribute To main()
,But There’s Already Have A[STAThread]
in the program.cs
All bound methods are called on the thread pool, to perform any sort of UI operation you must invoke onto the UI thread.
I Uses BackgroundWorker And Now it’s OK,Thank You
I’m Wants To Bind A JS Object To Save File,But When I Use
SaveFileDialogue1.ShowDialogue()
,The Compiler Shows That I’V To Use UI Thread