Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
Questionvisual studio addin - recalc dependencies before a build Pin
Jim Crafton24-Sep-10 9:21
Jim Crafton24-Sep-10 9:21 
QuestionRe: visual studio addin - recalc dependencies before a build Pin
AspDotNetDev24-Sep-10 11:04
protectorAspDotNetDev24-Sep-10 11:04 
Questionconnecting acces with udl file Pin
Erdinc2724-Sep-10 3:47
Erdinc2724-Sep-10 3:47 
AnswerRe: connecting acces with udl file Pin
PIEBALDconsult24-Sep-10 11:34
mvePIEBALDconsult24-Sep-10 11:34 
Questioncreating a pause? Pin
stephen.darling24-Sep-10 2:52
stephen.darling24-Sep-10 2:52 
AnswerRe: creating a pause? Pin
Manfred Rudolf Bihy24-Sep-10 3:04
professionalManfred Rudolf Bihy24-Sep-10 3:04 
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 3:12
stephen.darling24-Sep-10 3:12 
GeneralRe: creating a pause? Pin
Manfred Rudolf Bihy24-Sep-10 3:25
professionalManfred Rudolf Bihy24-Sep-10 3:25 
I'll try to explain it in more detail.
A forms application has a thread to handle all the events
that are happening when the user enters input or clicks
something with the mouse. When an event handler is attached
to a forms object and it does a Thread.Sleep(xxxx) events
can no longer be handled and the application seems to freeze
for time specified in the Thread.Sleep call.

One thing you might try if you're not yet comfortable with creating
your own Thread is using a timer on your form. When the text is entered
the timer is set and activated. In the event handler of the timer the text
will finally be written to the textbox. Since all this is happending on
the GUI thread you don't even have to worry about that invoke bit I mentioned
in my previous response.

Better? Wink | ;-)
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 3:38
stephen.darling24-Sep-10 3:38 
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 3:42
stephen.darling24-Sep-10 3:42 
GeneralRe: creating a pause? Pin
Manfred Rudolf Bihy24-Sep-10 3:48
professionalManfred Rudolf Bihy24-Sep-10 3:48 
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 4:13
stephen.darling24-Sep-10 4:13 
GeneralRe: creating a pause? Pin
Manfred Rudolf Bihy24-Sep-10 4:30
professionalManfred Rudolf Bihy24-Sep-10 4:30 
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 4:36
stephen.darling24-Sep-10 4:36 
GeneralRe: creating a pause? Pin
Saksida Bojan24-Sep-10 6:11
Saksida Bojan24-Sep-10 6:11 
AnswerRe: creating a pause? Pin
Luc Pattyn24-Sep-10 4:06
sitebuilderLuc Pattyn24-Sep-10 4:06 
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 18:41
stephen.darling24-Sep-10 18:41 
GeneralRe: creating a pause? Pin
Luc Pattyn24-Sep-10 22:52
sitebuilderLuc Pattyn24-Sep-10 22:52 
GeneralRe: creating a pause? Pin
stephen.darling24-Sep-10 23:16
stephen.darling24-Sep-10 23:16 
AnswerRe: creating a pause? Pin
Ravi Bhavnani24-Sep-10 7:11
professionalRavi Bhavnani24-Sep-10 7:11 
GeneralRe: creating a pause? Pin
Jim Crafton24-Sep-10 9:24
Jim Crafton24-Sep-10 9:24 
GeneralRe: creating a pause? Pin
Ravi Bhavnani24-Sep-10 9:27
professionalRavi Bhavnani24-Sep-10 9:27 
GeneralRe: creating a pause? Pin
Ravi Bhavnani24-Sep-10 9:29
professionalRavi Bhavnani24-Sep-10 9:29 
GeneralRe: creating a pause? Pin
Jim Crafton24-Sep-10 9:33
Jim Crafton24-Sep-10 9:33 
GeneralRe: creating a pause? Pin
Ravi Bhavnani24-Sep-10 9:34
professionalRavi Bhavnani24-Sep-10 9: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.