Click here to Skip to main content
15,919,898 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calculations Pin
Robert Rohde9-Mar-05 21:02
Robert Rohde9-Mar-05 21:02 
GeneralComboBox Help Pin
Ctwizzy9-Mar-05 12:54
Ctwizzy9-Mar-05 12:54 
GeneralHelp on Context Sensitive Help Pin
LannieK9-Mar-05 10:41
LannieK9-Mar-05 10:41 
GeneralThreads Pin
Anonymous9-Mar-05 9:11
Anonymous9-Mar-05 9:11 
GeneralRe: Threads Pin
TylerBrinks9-Mar-05 10:20
TylerBrinks9-Mar-05 10:20 
GeneralRe: Threads Pin
TylerBrinks9-Mar-05 10:23
TylerBrinks9-Mar-05 10:23 
GeneralRe: Threads Pin
El'Cachubrey9-Mar-05 20:09
El'Cachubrey9-Mar-05 20:09 
GeneralPROBLEM: Mouse Navigation with embedded browser control Pin
AnzelVincir9-Mar-05 8:18
AnzelVincir9-Mar-05 8:18 
QuestionAccess to HTML data via COM with C#? Pin
Pikebu9-Mar-05 7:00
Pikebu9-Mar-05 7:00 
AnswerRe: Access to HTML data via COM with C#? Pin
Heath Stewart9-Mar-05 7:55
protectorHeath Stewart9-Mar-05 7:55 
QuestionIs it possible for me using session variables into a class? Pin
see079-Mar-05 6:37
see079-Mar-05 6:37 
AnswerRe: Is it possible for me using session variables into a class? Pin
TylerBrinks9-Mar-05 10:32
TylerBrinks9-Mar-05 10:32 
GeneralRe: Is it possible for me using session variables into a class? Pin
see079-Mar-05 12:09
see079-Mar-05 12:09 
GeneralRe: Is it possible for me using session variables into a class? Pin
Andy Brummer9-Mar-05 12:48
sitebuilderAndy Brummer9-Mar-05 12:48 
GeneralRe: Is it possible for me using session variables into a class? Pin
see079-Mar-05 12:53
see079-Mar-05 12:53 
GeneralPrinting Problem Pin
GoodQuestion9-Mar-05 5:35
GoodQuestion9-Mar-05 5:35 
QuestionShow 1st instance of application when starting 2nd instance? Pin
Kasdoffe9-Mar-05 5:22
Kasdoffe9-Mar-05 5:22 
AnswerRe: Show 1st instance of application when starting 2nd instance? Pin
TylerBrinks9-Mar-05 6:25
TylerBrinks9-Mar-05 6:25 
GeneralC# Timers Pin
GaMBiT_KC9-Mar-05 5:18
GaMBiT_KC9-Mar-05 5:18 
GeneralRe: C# Timers Pin
TylerBrinks9-Mar-05 6:32
TylerBrinks9-Mar-05 6:32 
GeneralRe: C# Timers Pin
Joseph Baker26-Mar-05 14:32
Joseph Baker26-Mar-05 14:32 
GeneralRe: C# Timers Pin
MoustafaS9-Mar-05 7:18
MoustafaS9-Mar-05 7:18 
GeneralRe: C# Timers Pin
TylerBrinks9-Mar-05 10:37
TylerBrinks9-Mar-05 10:37 
You shold not do that. It's a bad idea. If you call Thread.sleep(...) you'll lock up the main thread (probably your UI thred) for 2 seconds. You should NEVER break a user's access to your main thread for long running processes, especially in this case where it happens often as in your post. If you do, your app will seem to lock up to the user. Instead, if you use the timer with threading you will prevent the main thread from being locked, and you have the ability to enable and disable specific items (buttons etc...) accordingly. You always want to allow user interaction, even if you have to lock down controls and there's nothing enabled to interact with.
GeneralRe: C# Timers Pin
eggie59-Mar-05 18:53
eggie59-Mar-05 18:53 
GeneralRe: C# Timers Pin
TylerBrinks10-Mar-05 4:34
TylerBrinks10-Mar-05 4:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.