How do I make my form wait a few seconds after a button click to respond. I have tried making it sleep on button click but I want it to send a msgbox then wait. Any ideas?
While i would not say using Threading.Thread.Sleep is bad practice, i would how ever say if it need's to be used in the main thread then it might be worth having a rethink. There is in most cases a more suitable way to handle a problem with out calling Sleep. Why not give us more information on what you are trying to achieve and we can see if we can find a better solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.