Threading problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
In my application I submit a procedure using another thread, so the user can use the computer while the process is running
But, how can I send a messageBox using the main thread to the user when the procedure in the sub thread is over
Thank you
Fabrizio
 
Fabrizio said:
In my application I submit a procedure using another thread, so the
user can use the computer while the process is running. But, how can
I send a messageBox using the main thread to the user when the
procedure in the sub thread is over?

Use Conrol.Invoke to invoke a delegate on the UI thread.
 
Back
Top