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

C#

 
AnswerRe: Form as Command Line Pin
PIEBALDconsult10-Oct-07 13:13
mvePIEBALDconsult10-Oct-07 13:13 
GeneralRe: Form as Command Line Pin
PIEBALDconsult10-Oct-07 13:42
mvePIEBALDconsult10-Oct-07 13:42 
GeneralRe: Form as Command Line Pin
SDEspiritu11-Oct-07 4:48
SDEspiritu11-Oct-07 4:48 
QuestionIIS Configuration Pin
raygn210-Oct-07 11:40
raygn210-Oct-07 11:40 
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 
Well, maybe. The event is made by the class library when it needs something from the end-user. So the process is:

class library (needs something)
<--accessed through--> program (can ask the user for something)
<-- interfaces with --> user (can supply something)

The question is, how do I handle that "something"? Right now I am making it a return value of the event. The event is part of the class library; the program has an event handler; and the event handler queries the user, and returns whatever the user inputted.

Are you saying that I should put the "return value" in the event args? So that the program's event handler gets the user's input, stuffs it in the event args, and then the class library reads out what the program put into the event args?


-Domenic Denicola- [CPUA 0x1337]

“I was born human. But this was an accident of fate—a condition merely of time and place. I believe it's something we have the power to change…”

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

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.