[Mono-devel-list] Re: Threading model
pascalfresnay at free.fr
Fri Aug 5 10:22:26 EDT 2005
Paul F. Johnson a écrit :
>>> public void synchTest()
>>> if (count1 != count2)
>>> lbl.Text = "Unsynched";
>>Your code access the UI from another thread.
>>This is unsuported with SWF (on MSFT's runtime, too).
>>You must use Control.Invoke if you want to update the UI from
>>another thread, otherwise strange things will happen.
>How do I use Control.Invoke within my code and I'm not sure this
>explains the r00t access the code gave me.
look at this sample :
More information about the Mono-devel-list