Click here to Skip to main content
15,910,411 members
Home / Discussions / C#
   

C#

 
QuestionUnable to get IP Address using WMI and C# Pin
Buck_Murdock23-Mar-09 10:38
Buck_Murdock23-Mar-09 10:38 
AnswerRe: Unable to get IP Address using WMI and C# Pin
0x3c023-Mar-09 10:56
0x3c023-Mar-09 10:56 
AnswerRe: Unable to get IP Address using WMI and C# Pin
Luc Pattyn23-Mar-09 11:45
sitebuilderLuc Pattyn23-Mar-09 11:45 
AnswerRe: Unable to get IP Address using WMI and C# Pin
Xmen Real 23-Mar-09 15:16
professional Xmen Real 23-Mar-09 15:16 
QuestionEvents Pin
CodingYoshi23-Mar-09 10:38
CodingYoshi23-Mar-09 10:38 
AnswerRe: Events Pin
Jimmanuel23-Mar-09 11:06
Jimmanuel23-Mar-09 11:06 
AnswerRe: Events Pin
Henry Minute23-Mar-09 11:21
Henry Minute23-Mar-09 11:21 
AnswerRe: Events Pin
Luc Pattyn23-Mar-09 11:49
sitebuilderLuc Pattyn23-Mar-09 11:49 
Hi,

how about this:
first your Form_Load handler gets executed on the GUI thread; it fires three Button_Changed events, which sit in the event queue since the GUI thread is still busy loading your form. When that is done, and well after you have set isLoading true again, the three Button_Changed handlers get executed by the GUI thread, and they do what you don't want to be done...

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


GeneralRe: Events Pin
CodingYoshi23-Mar-09 11:52
CodingYoshi23-Mar-09 11:52 
QuestionPoint Count between two points Pin
I Believe In GOD23-Mar-09 9:56
I Believe In GOD23-Mar-09 9:56 
AnswerRe: Point Count between two points Pin
Henry Minute23-Mar-09 10:23
Henry Minute23-Mar-09 10:23 
AnswerRe: Point Count between two points Pin
CPallini23-Mar-09 10:51
mveCPallini23-Mar-09 10:51 
GeneralRe: Point Count between two points Pin
Luc Pattyn23-Mar-09 11:52
sitebuilderLuc Pattyn23-Mar-09 11:52 
GeneralRe: Point Count between two points Pin
CPallini23-Mar-09 13:40
mveCPallini23-Mar-09 13:40 
NewsRe: Point Count between two points Pin
I Believe In GOD23-Mar-09 11:00
I Believe In GOD23-Mar-09 11:00 
Question/d:TRACE compiler flag for enabling tracing? Pin
Member 232448323-Mar-09 9:46
Member 232448323-Mar-09 9:46 
AnswerRe: /d:TRACE compiler flag for enabling tracing? Pin
Vitaliy Tsvayer23-Mar-09 9:51
Vitaliy Tsvayer23-Mar-09 9:51 
GeneralRe: /d:TRACE compiler flag for enabling tracing? Pin
Member 232448323-Mar-09 10:04
Member 232448323-Mar-09 10:04 
GeneralRe: /d:TRACE compiler flag for enabling tracing? Pin
Vitaliy Tsvayer23-Mar-09 10:17
Vitaliy Tsvayer23-Mar-09 10:17 
AnswerRe: /d:TRACE compiler flag for enabling tracing? Pin
Henry Minute23-Mar-09 10:31
Henry Minute23-Mar-09 10:31 
QuestionTrouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
astroudjr23-Mar-09 8:47
astroudjr23-Mar-09 8:47 
AnswerRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Fayu23-Mar-09 9:08
Fayu23-Mar-09 9:08 
GeneralRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
astroudjr23-Mar-09 9:19
astroudjr23-Mar-09 9:19 
GeneralRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Fayu23-Mar-09 9:50
Fayu23-Mar-09 9:50 
AnswerRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Henry Minute23-Mar-09 9:14
Henry Minute23-Mar-09 9:14 

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.