I've two forms namely FormA & FormB whose constructors initialize some ActiveX controls (to display some default charts) & does some init tasks which are time consuming as shown in the below code snippet:
Expand|Select|Wrap|Line Numbers
- Dim theFormA As FormA = New FormA
- Dim theFormB As FormB = New FormB
My question is - Is there a better way of determining whether or not my threads have completed their execution via any event which gets triggered just after the threads have finished their respective jobs so that I can go ahead & do other processing which currently I'm doing in the tick event of the Timer control after having determined that the threads have completed their jobs.
Thanks in advance.
Aads