Ok guys... so how bad is using:
System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = False
In my app, the only reason I am doing threading is because it will take long to process and I want the UI to stop locking up.
In my threading process when everything is completed, if I turn on or off a control it was crashing saying it was cross threading.
I am not concerned if that control is being used by another process.It wont be a problem. So what is the reason I shoul shy away from the above code.
System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = False
In my app, the only reason I am doing threading is because it will take long to process and I want the UI to stop locking up.
In my threading process when everything is completed, if I turn on or off a control it was crashing saying it was cross threading.
I am not concerned if that control is being used by another process.It wont be a problem. So what is the reason I shoul shy away from the above code.