communication between threads

J

Julia Sats

Hi,
I have form. From this form I start another thread. After working the thread return value (String) to call back function.
I want to show that value on my started form like: Label1.Text = strReturnValue

Of course I can pass reference on my StartForm to new Thread and do update inside thread.
But how I can do it inside callback function if I do not have reference to StartForm. Does exist any collection of opened forms or something like it?

Thanks
 
H

Herfried K. Wagner [MVP]

Please don't post in HTML format, this will prevent people from reading what
you have written.

Regards
Herfried
 

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

Top