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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

two threads 2
Threading in SQL Server CLR procedure 1
Synchronize or invoke? 1
Thread 1
More about threads 2
threads 1
multi threading c# 10
Problem while Stopping the thread 2

Back
Top