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; });
1.4m articles
1.4m replys
5 comments
57.0k users