Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Best way to delay/sleep...

$
0
0
I have a splash form that shows while certain things are done before bringing up the Main form. At the end of that, I show a few messages, pausing for half a second between each one. I was targeting .Net Framework 3.5 and using the Sleep function [Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)]. But, now that I am targeting .Net Framework 4.0, that doesn't work anymore. How can I accomplish this in .Net Framework 4.0? 

Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>