Click here to Skip to main content
15,071,581 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
hi friends

i have a program that is event oreinted and just work with applying the breakpoint so i should write a delay method at first of its events ...

but i dont use of multithread ... i guess i should use of timer .please help me about this?

.... and can i do this without using timer?

thanks for your time

you can read about sleep[^] method.

this codes make your application waiting for 5 seconds

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900