المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Crossing Threads



C# Programming
09-19-2009, 04:50 AM
Hallo, I am working with Threads and I Know the main Rule telling that no one Control created with one Thread can be accessed by other Thread, I also know that this is not an absolute rule and it can be solved, but my question is:

- This Error for crossed threads affects only to Controls or also affects to variables, methods, Lists and objects, or I Can share those objects between threads without any problem, and only with Controls I am going to have a problem.

Please answer me in the way Error sharing Variables Yes/No ...

Regards