Thread and timer

  • Thread starter Thread starter adeelm4
  • Start date Start date
A

adeelm4

Guest
I want to develop an application which runs a thread and a timer simultaneously. Thread is responsible for getting data. On clicking button, thread is created which takes the data and on clicking the button again, thread is destroyed. In parallel, timer is required to time the duration of run of thread.

When i start timer in this function "private: System::Void StartBtn_Click" by using start function. The timer doesnt start timing. When i click again without stopping the function then timer starts calculating the time and starts clocking.

how to run thread and timer together on clickung start button

Continue reading...
 

Similar threads

Back
Top