AsyncCallback V's Threading
Hi all just wanting to get some other coders views on which to use, by that until now I have always used a thread to perform a data intensive task but as you are aware the need to use invoke if this process wishes to interact with the calling GUI. Today I came across AsyncCallback which if i understand it correctly works very much like a thread but allows for GUI updating without the hassle of checking for Begininvoke. SO what do you in your opinion think is "better" to use.
Many thanks
:wave: :wave: :wave:
Re: AsyncCallback V's Threading
The AsyncCallback delegate references a method to execute when an asynchronous operation completes. You can't use it to interact with the GUI during an asynchronous operation.