T
Tony WONG
i have a "for next" program to detect workstations ON/OFF status by ping.
i wish the program restart after 60 seconds after completion of for next
loop.
at present, i use "System.Threading.Thread.Sleep(60000)"
however i find the UI hang up during thread sleep.
i do not want to use timer cos the running time of the next loop varies,
depend on the how many workstations are ON.
any better way to let the program wait without affecting the response of UI?
Thanks a lot.
tony
i wish the program restart after 60 seconds after completion of for next
loop.
at present, i use "System.Threading.Thread.Sleep(60000)"
however i find the UI hang up during thread sleep.
i do not want to use timer cos the running time of the next loop varies,
depend on the how many workstations are ON.
any better way to let the program wait without affecting the response of UI?
Thanks a lot.
tony