Windows form as thread

  • Thread starter Thread starter MS
  • Start date Start date
M

MS

Hello,

I'm using a windows form as a thread and I have no idea about how to acces
my form methods after having started the thread.

Actually it's a kind of progress form wich I have to set the progress value.
But once the form started, I have no way to acces it's method
"setProgressValue()" to set the value of the progressBar.

I start the process by System.threading.

Please can you show me the way?

Thanks....
 
MS said:
I'm using a windows form as a thread and I have no idea about how to acces
my form methods after having started the thread.

Actually it's a kind of progress form wich I have to set the progress
value. But once the form started, I have no way to acces it's method
"setProgressValue()" to set the value of the progressBar.

Multithreading in Windows Forms applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=multithreading&lang=en>

.... contains a link to a sample for a threaded progress dialog.
 
Back
Top