Click here to Skip to main content
15,929,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I delay the painting of a GroupBox control? Pin
JoeRip27-Sep-07 9:26
JoeRip27-Sep-07 9:26 
GeneralRe: How can I delay the painting of a GroupBox control? Pin
Scott Dorman27-Sep-07 3:51
professionalScott Dorman27-Sep-07 3:51 
GeneralRe: How can I delay the painting of a GroupBox control? Pin
JoeRip27-Sep-07 9:27
JoeRip27-Sep-07 9:27 
GeneralRe: How can I delay the painting of a GroupBox control? Pin
Scott Dorman27-Sep-07 10:20
professionalScott Dorman27-Sep-07 10:20 
QuestionWriting to controls from thread.. Pin
Dio2227-Sep-07 2:40
Dio2227-Sep-07 2:40 
AnswerRe: Writing to controls from thread.. Pin
TJoe27-Sep-07 2:46
TJoe27-Sep-07 2:46 
AnswerRe: Writing to controls from thread.. Pin
il_masacratore27-Sep-07 2:51
il_masacratore27-Sep-07 2:51 
AnswerRe: Writing to controls from thread.. Pin
JoeRip27-Sep-07 2:59
JoeRip27-Sep-07 2:59 
I do what the other two have said. I used delegates, and I use BeginInvoke().

The reason I use BeginInvoke is - if your method which contains Invoke gets called again before the first Invoke has returned, your application can hang.

BeginInvoke() is asynchronous. So if you aren't super worried about performance, or don't need complete synchronicity, I recommend this approach.
AnswerRe: Writing to controls from thread.. Pin
Dio2227-Sep-07 3:19
Dio2227-Sep-07 3:19 
AnswerRe: Writing to controls from thread.. Pin
Ed.Poore27-Sep-07 7:41
Ed.Poore27-Sep-07 7:41 
QuestionWhy does CurrentDirectory change Pin
electriac27-Sep-07 2:15
electriac27-Sep-07 2:15 
AnswerRe: Why does CurrentDirectory change Pin
ATCsharp27-Sep-07 2:18
ATCsharp27-Sep-07 2:18 
GeneralRe: Why does CurrentDirectory change Pin
electriac27-Sep-07 2:45
electriac27-Sep-07 2:45 
AnswerRe: Why does CurrentDirectory change Pin
TJoe27-Sep-07 2:22
TJoe27-Sep-07 2:22 
GeneralRe: Why does CurrentDirectory change Pin
electriac27-Sep-07 2:50
electriac27-Sep-07 2:50 
GeneralRe: Why does CurrentDirectory change Pin
TJoe27-Sep-07 2:53
TJoe27-Sep-07 2:53 
AnswerRe: Why does CurrentDirectory change Pin
Dave Kreskowiak27-Sep-07 4:30
mveDave Kreskowiak27-Sep-07 4:30 
QuestionOnKeyPress and KeyPress Pin
mihksoft27-Sep-07 2:11
mihksoft27-Sep-07 2:11 
AnswerRe: OnKeyPress and KeyPress Pin
TJoe27-Sep-07 2:16
TJoe27-Sep-07 2:16 
AnswerRe: OnKeyPress and KeyPress Pin
Martin#27-Sep-07 2:17
Martin#27-Sep-07 2:17 
QuestionDynamic Class Loading - app.config issue Pin
ATCsharp27-Sep-07 2:04
ATCsharp27-Sep-07 2:04 
AnswerRe: Dynamic Class Loading - app.config issue Pin
TJoe27-Sep-07 2:40
TJoe27-Sep-07 2:40 
GeneralRe: Dynamic Class Loading - app.config issue Pin
TJoe27-Sep-07 2:42
TJoe27-Sep-07 2:42 
QuestionKey Board Key Codes Pin
Venkataramuc27-Sep-07 1:37
Venkataramuc27-Sep-07 1:37 
AnswerRe: Key Board Key Codes Pin
ATCsharp27-Sep-07 2:22
ATCsharp27-Sep-07 2:22 

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.