19
Answers

How to implement multiple thread?

Ask a question
jaypee bacol

jaypee bacol

14y
6.3k
1
Hi,

I want to create a project/program that implements multiple thread. Below is my algorithm.

For example, display no 1 to 10 with delay(500).

1. In a window form, there is a command button named btnProcess.
2. There is a separate window form for status/monitoring of process.
2. When I click btnProcess, it creates a thread to process and update the status/monitoring window.
3. Without waiting that process, simultaneously, I can click again the cmdProcess and create another thread to process and then update again the status/monitoring window.
4. I can do step 3 over and over again.

And can it be possible if my monitoring is console while the major GUI is window form type?

Please help me.

Thanks,
Jaypee

Answers (19)