Click here to Skip to main content
16,020,249 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to modified text file in C Pin
Christian Graus13-Jul-06 6:03
protectorChristian Graus13-Jul-06 6:03 
QuestionLosing value of object Pin
leckey13-Jul-06 5:54
leckey13-Jul-06 5:54 
AnswerRe: Losing value of object Pin
Christian Graus13-Jul-06 6:02
protectorChristian Graus13-Jul-06 6:02 
GeneralRe: Losing value of object Pin
leckey13-Jul-06 6:05
leckey13-Jul-06 6:05 
AnswerRe: Losing value of object Pin
Guffa13-Jul-06 9:04
Guffa13-Jul-06 9:04 
GeneralRe: Losing value of object Pin
leckey13-Jul-06 9:57
leckey13-Jul-06 9:57 
AnswerRe: Losing value of object Pin
Guffa13-Jul-06 11:55
Guffa13-Jul-06 11:55 
AnswerRe: Losing value of object Pin
Josh Smith13-Jul-06 6:06
Josh Smith13-Jul-06 6:06 
The voyage continues.

I read Graus's reply, so I won't touch on what he said.

To answer your question of why you get the compiler error: Cuz your method isn't returning a value from all logical exit points. You were only returning a value at the bottom of the try block. What if an exception was thrown? Where would the return value come from then? (Note, you can't modify an event handler's signature anyways. You aren't calling your event handler are you? Is that why you added a return value? Very bad practice. Naughty. Bad Leckey, bad!)

:josh:
My WPF Blog[^]
GeneralRe: Losing value of object Pin
leckey13-Jul-06 6:11
leckey13-Jul-06 6:11 
GeneralRe: Losing value of object Pin
Josh Smith13-Jul-06 7:44
Josh Smith13-Jul-06 7:44 
QuestionHow to implement Trees ... Pin
JamesT113-Jul-06 5:38
JamesT113-Jul-06 5:38 
AnswerRe: How to implement Trees ... Pin
Christian Graus13-Jul-06 5:45
protectorChristian Graus13-Jul-06 5:45 
GeneralRe: How to implement Trees ... Pin
Josh Smith13-Jul-06 5:50
Josh Smith13-Jul-06 5:50 
GeneralRe: How to implement Trees ... Pin
Christian Graus13-Jul-06 5:53
protectorChristian Graus13-Jul-06 5:53 
GeneralRe: How to implement Trees ... Pin
Josh Smith13-Jul-06 5:59
Josh Smith13-Jul-06 5:59 
GeneralRe: How to implement Trees ... Pin
led mike13-Jul-06 7:28
led mike13-Jul-06 7:28 
AnswerRe: How to implement Trees ... Pin
Jun Du13-Jul-06 5:51
Jun Du13-Jul-06 5:51 
AnswerRe: How to implement Trees ... [modified] Pin
User 665813-Jul-06 5:53
User 665813-Jul-06 5:53 
AnswerRe: How to implement Trees ... Pin
BoneSoft13-Jul-06 6:13
BoneSoft13-Jul-06 6:13 
AnswerCS 101 Pin
Ennis Ray Lynch, Jr.13-Jul-06 6:22
Ennis Ray Lynch, Jr.13-Jul-06 6:22 
AnswerRe: How to implement Trees ... Pin
Eric Dahlvang13-Jul-06 7:54
Eric Dahlvang13-Jul-06 7:54 
QuestionTrying to print an html page without to load it in asp.net Pin
sai_akkina13-Jul-06 5:12
sai_akkina13-Jul-06 5:12 
AnswerRe: Trying to print an html page without to load it in asp.net Pin
Not Active13-Jul-06 5:24
mentorNot Active13-Jul-06 5:24 
AnswerRe: Trying to print an html page without to load it in asp.net Pin
Dave Kreskowiak13-Jul-06 6:38
mveDave Kreskowiak13-Jul-06 6:38 
GeneralRe: Trying to print an html page without to load it in asp.net Pin
sai_akkina13-Jul-06 18:11
sai_akkina13-Jul-06 18:11 

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.