i am developing a application like ATM. I need a continuous loop that run behind the screen which require authentication. but it should not affect the shown screen. which is the best way to do this. please suggest solution for this. i am waiting...
thanks in advance.....................
Thanks for this valuable reply. but i create a sample app using the given code in visual studio 2008. it shows a error that "Cross-thread operation not valid: Control 'ProgressBar1' accessed from a thread other than the thread it was created on".
finally i found a solution for me.
to create running watch in application,
i) add a timer, and label in windows form
ii) in form load,
timer1 =new timer
addhandler timer1_tick, Addressof timer1_tick
iii) Then double click timer
this runs continuously without affecting the other process in windows form.