Click here to Skip to main content
15,887,988 members
Home / Discussions / C#
   

C#

 
GeneralMessage Removed Pin
21-May-10 3:34
EthicsGradient21-May-10 3:34 
GeneralRe: How to clear FileSystemWatcher.Path ? Pin
Johnny J.21-May-10 3:38
professionalJohnny J.21-May-10 3:38 
GeneralMessage Removed Pin
21-May-10 13:58
EthicsGradient21-May-10 13:58 
GeneralRe: How to clear FileSystemWatcher.Path ? Pin
Pete O'Hanlon23-May-10 9:11
mvePete O'Hanlon23-May-10 9:11 
QuestionWM_PAINT makes textbox non-unicode Pin
thomus0719-May-10 18:27
thomus0719-May-10 18:27 
AnswerRe: WM_PAINT makes textbox non-unicode Pin
thomus0719-May-10 18:53
thomus0719-May-10 18:53 
QuestionI Find This Baffling Pin
Roger Wright19-May-10 18:16
professionalRoger Wright19-May-10 18:16 
AnswerRe: I Find This Baffling Pin
Luc Pattyn19-May-10 18:42
sitebuilderLuc Pattyn19-May-10 18:42 
Hi Roger,

what strikes me is your TextChanged handlers use Sender, not sender. That is immaterial to the correct operation, but it tells me something has happened there.

Hint1 (experiment): change txtDh_TextChanged to txtDh_TextChanged123 (that is a one-line change!) and make sure it does not compile. If it does, it proves your txtDh is NOT wired to that handler.

Hint2: search your project for "txtDh_TextChanged_" (NOT whole word); if you find any, look for all of them. I expect there to be two, one of them containing a throw.

Hint3: maybe the textbox names are a bit odd too; I see Dh, dW1 and W2. C# is case-sensitive.

Hint4: maybe you have more than 3 textboxes, some of them at the same location, and when you think you type in one, you actually type in another one that is not wired up to a TextChanged handler.

Hint5: show us (the beginning lines of) testDimensions, and offer convincing proof it is not being called.

That is it for now. I'll be back tomorrow.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

GeneralRe: I Find This Baffling Pin
Roger Wright20-May-10 3:00
professionalRoger Wright20-May-10 3:00 
GeneralRe: I Find This Baffling Pin
Luc Pattyn20-May-10 3:34
sitebuilderLuc Pattyn20-May-10 3:34 
GeneralRe: I Find This Baffling Pin
Roger Wright20-May-10 5:11
professionalRoger Wright20-May-10 5:11 
GeneralRe: I Find This Baffling Pin
Luc Pattyn20-May-10 5:20
sitebuilderLuc Pattyn20-May-10 5:20 
GeneralRe: I Find This Baffling Pin
Roger Wright20-May-10 16:10
professionalRoger Wright20-May-10 16:10 
GeneralRe: I Find This Baffling Pin
Luc Pattyn20-May-10 16:29
sitebuilderLuc Pattyn20-May-10 16:29 
GeneralRe: I Find This Baffling Pin
Roger Wright20-May-10 16:51
professionalRoger Wright20-May-10 16:51 
GeneralRe: I Find This Baffling Pin
Luc Pattyn20-May-10 17:12
sitebuilderLuc Pattyn20-May-10 17:12 
GeneralRe: I Find This Baffling Pin
Luc Pattyn20-May-10 18:08
sitebuilderLuc Pattyn20-May-10 18:08 
GeneralRe: I Find This Baffling Pin
dybs21-May-10 18:35
dybs21-May-10 18:35 
AnswerRe: I Find This Baffling Pin
dybs19-May-10 18:44
dybs19-May-10 18:44 
GeneralRe: I Find This Baffling Pin
Roger Wright20-May-10 3:02
professionalRoger Wright20-May-10 3:02 
GeneralRe: I Find This Baffling Pin
Roger Wright20-May-10 16:17
professionalRoger Wright20-May-10 16:17 
QuestionHttpWebRequest simultaneously!!!! Pin
Christian_V_V19-May-10 18:05
Christian_V_V19-May-10 18:05 
AnswerRe: HttpWebRequest simultaneously!!!! Pin
Luc Pattyn19-May-10 18:45
sitebuilderLuc Pattyn19-May-10 18:45 
AnswerRe: HttpWebRequest simultaneously!!!! Pin
Jens Meyer19-May-10 19:03
Jens Meyer19-May-10 19:03 
AnswerRe: HttpWebRequest simultaneously!!!! Pin
Martin Jarvis20-May-10 6:23
Martin Jarvis20-May-10 6:23 

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.