When i try to change a UI property (specifically enable) my thread throws System.Threading.ThreadAbortException
How do i access UI in a Thread.
You could use a BackgroundWorker and then change the UI like this:
control.Invoke((MethodInvoker)delegate { control.Enabled = true; });
2.1m questions
2.1m answers
60 comments
57.0k users