Click here to Skip to main content
15,913,939 members
Home / Discussions / C#
   

C#

 
Questionunable to upload a file using ftp Pin
T_Teef23-Mar-09 10:55
T_Teef23-Mar-09 10:55 
AnswerRe: unable to upload a file using ftp Pin
0x3c023-Mar-09 10:59
0x3c023-Mar-09 10:59 
GeneralRe: unable to upload a file using ftp Pin
T_Teef25-Mar-09 13:01
T_Teef25-Mar-09 13:01 
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 
This has happened a few times to me. I have a form with 3 radio buttons. Here is the code for the form's load event handler: (Ignore variable naming)

this.isLoading = true;

this.RadioButton1.Checked = false;
this.RadioButton2.Checked = false;
this.RadioButton2.Checked = false;

this.isLoading = false;

I have an event handler which handles the checkedchanged of all the three radio buttons. The handler should exit if isLoading is true. However, after the last statement in form's load event, the radio button checkedchanged event is fired and I can not figure out why/how it is fired. Since isLoading is false it goes into the eventhandler of the radio button and one of the radio buttons is checked but how? I have no idea.

How can I figure this out? This has happened to me a few times.

CodingYoshi

Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

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 
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 

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.