Hi
Language: C# (WinForms)
There is one think I don't fully understand:
Suppose I have normal button.Click event. I know for sure from my own experience that if I try to access UI elements from inside of this event I could potentially got unwanted behavior - or even exception (when debugging). The usual exception in such a scenario is: "...cannot access UI elements from thread different than they were created in".
Since this is another THREAD (different than the main) why my UI is blocked when i perform time consuming operations in an event?
Could you please help me out with this? PK