Geeks With Blogs
Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done
C# wait for n seconds
 
5 seconds:
 System.Threading.Thread.Sleep(5000);
Posted on Tuesday, November 7, 2006 1:27 PM | Back to top


Comments on this post: C# wait for n seconds

# re: C# wait for n seconds
Requesting Gravatar...
Every time I use System.Threading.Thread.Sleep, my computer gets wacky and the cursor freezes to default, while nothing else happens. It takes a second to exit the form, but everything runs smoothly UNTIL it reads this code.
Left by Kim on Jun 21, 2007 6:26 PM

# re: C# wait for n seconds
Requesting Gravatar...
This is becuase all the GUI runs in one thread. If You force it to sleep - it sleeps (doesnt react to antything).
Left by k on Jul 03, 2007 1:56 AM

# re: C# wait for n seconds
Requesting Gravatar...
using System.Therading;
.
.
.
.
.



Thread.Sleep(500); //500 milisecond
Left by iran on Sep 12, 2008 10:06 PM

# re: C# wait for n seconds
Requesting Gravatar...
With more 1000 Designer dresses,we supply Evening Dresses,Custom Dresses,formal gowns,cocktail dresses with wholesale price
prom dresses
Left by G on Mar 29, 2010 12:51 AM

# nfl jerseys
Requesting Gravatar...
Atlanta Falcons Jerseys
http://www.supplynflshop.com
Left by Atlanta Falcons Jerseys on Sep 07, 2010 11:01 PM

# moncker jackets
Requesting Gravatar...
Left by moncler jackets on Dec 06, 2010 1:34 AM

# re: C# wait for n seconds
Requesting Gravatar...
Really, how to pause application without freezing the whole system? (http://rabotynet.ru)
Left by Impec on Jan 30, 2011 8:08 AM

# re: C# wait for n seconds
Requesting Gravatar...
You can also use System.Threading.Thread.Sleep(5000);

instant payday loans
Left by SamMikle on Mar 02, 2011 11:07 PM

# re: C# wait for n seconds
Requesting Gravatar...
What do you want your prospects to know about your product or service? Are you launching a new line of products? Or you just want to promote a store event?
Left by louis vuitton outlet on Dec 02, 2011 8:29 PM

# re: C# wait for n seconds
Requesting Gravatar...
I Think This Concept is use in Thread when Thread goes in sleep mode I still am Confused with the Loop you are Using in Developing This Application
Left by blackberry tracker on Dec 23, 2011 1:51 AM

Your comment:
 (will show your gravatar)


Copyright © Rodney Vinyard | Powered by: GeeksWithBlogs.net | Join free