Click here to Skip to main content
15,911,762 members
Home / Discussions / C#
   

C#

 
AnswerRe: IIS Configuration Pin
Yitzchok Dev10-Oct-07 19:50
Yitzchok Dev10-Oct-07 19:50 
QuestionEvents should not return values?! Pin
Domenic Denicola10-Oct-07 11:14
Domenic Denicola10-Oct-07 11:14 
AnswerRe: Events should not return values?! Pin
Christian Graus10-Oct-07 11:25
protectorChristian Graus10-Oct-07 11:25 
GeneralRe: Events should not return values?! Pin
Domenic Denicola10-Oct-07 11:31
Domenic Denicola10-Oct-07 11:31 
GeneralRe: Events should not return values?! Pin
Robert Rohde10-Oct-07 11:44
Robert Rohde10-Oct-07 11:44 
GeneralRe: Events should not return values?! Pin
Domenic Denicola10-Oct-07 11:57
Domenic Denicola10-Oct-07 11:57 
GeneralRe: Events should not return values?! Pin
lmoelleb10-Oct-07 20:53
lmoelleb10-Oct-07 20:53 
AnswerRe: Events should not return values?! Pin
Skippums10-Oct-07 11:39
Skippums10-Oct-07 11:39 
I'm not really sure how this effects the message pump, but I feel like getting user feedback within an event handler in general is a bad idea because it will (I think) halt message handling while you wait for the input. Why not process this on the actual thread that you are calling it from, with a public method called "GetPin()", which will check to see if the pin is already entered and return that if it exists, or return the new pin provided by the user through some UI.

Jeff
GeneralRe: Events should not return values?! Pin
Domenic Denicola10-Oct-07 11:42
Domenic Denicola10-Oct-07 11:42 
GeneralRe: Events should not return values?! Pin
Skippums11-Oct-07 4:57
Skippums11-Oct-07 4:57 
QuestionPublic and protected property Pin
Fernando A. Gomez F.10-Oct-07 11:07
Fernando A. Gomez F.10-Oct-07 11:07 
AnswerRe: Public and protected property Pin
Patrick Etc.10-Oct-07 11:08
Patrick Etc.10-Oct-07 11:08 
GeneralRe: Public and protected property Pin
Fernando A. Gomez F.10-Oct-07 11:13
Fernando A. Gomez F.10-Oct-07 11:13 
GeneralRe: Public and protected property Pin
Patrick Etc.10-Oct-07 11:44
Patrick Etc.10-Oct-07 11:44 
GeneralRe: Public and protected property Pin
Skippums10-Oct-07 11:23
Skippums10-Oct-07 11:23 
GeneralRe: Public and protected property Pin
Patrick Etc.10-Oct-07 11:44
Patrick Etc.10-Oct-07 11:44 
GeneralRe: Public and protected property Pin
Robert Rohde10-Oct-07 11:45
Robert Rohde10-Oct-07 11:45 
QuestionToolStripManager.LoadSettings exception Pin
Skippums10-Oct-07 10:42
Skippums10-Oct-07 10:42 
AnswerRe: ToolStripManager.LoadSettings exception Pin
Pete O'Hanlon10-Oct-07 10:50
mvePete O'Hanlon10-Oct-07 10:50 
GeneralRe: ToolStripManager.LoadSettings exception Pin
Skippums10-Oct-07 10:57
Skippums10-Oct-07 10:57 
QuestionChecking for database concurrency violations Pin
msx2310-Oct-07 10:14
msx2310-Oct-07 10:14 
AnswerRe: Checking for database concurrency violations Pin
Robert Rohde10-Oct-07 11:50
Robert Rohde10-Oct-07 11:50 
GeneralRe: Checking for database concurrency violations Pin
msx2311-Oct-07 12:30
msx2311-Oct-07 12:30 
QuestionHow to convert a char from IO stream into an int please Pin
humblepgmr10-Oct-07 9:46
humblepgmr10-Oct-07 9:46 
AnswerRe: How to convert a char from IO stream into an int please Pin
Pete O'Hanlon10-Oct-07 9:49
mvePete O'Hanlon10-Oct-07 9:49 

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.