Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to handle TcpClient Pin
led mike5-Aug-08 4:38
led mike5-Aug-08 4:38 
Questioncolumn in datagrid Pin
benjamin yap5-Aug-08 2:29
benjamin yap5-Aug-08 2:29 
AnswerRe: column in datagrid Pin
paas5-Aug-08 3:24
paas5-Aug-08 3:24 
GeneralRe: column in datagrid Pin
benjamin yap5-Aug-08 3:53
benjamin yap5-Aug-08 3:53 
GeneralRe: column in datagrid Pin
paas5-Aug-08 4:16
paas5-Aug-08 4:16 
QuestionStore/retrieve font in user settings and isolated storage Pin
AndrusM5-Aug-08 2:14
AndrusM5-Aug-08 2:14 
AnswerRe: Store/retrieve font in user settings and isolated storage Pin
led mike5-Aug-08 5:03
led mike5-Aug-08 5:03 
QuestionWhere do unhandled exceptions in event handlers go? Pin
JoeRip5-Aug-08 1:29
JoeRip5-Aug-08 1:29 
When an exception in an event handler is not handled, where does it bubble up to?

It's not bubbling up to anywhere in my Windows Form app. The exception itself gets reported in the debugger output, and the event handler terminates at the offending line of code, and my program runs happily along its way - no "unhandled exception" message is displayed anywhere.

The code doesn't even stop when running hosted/in the debugger. If I wasn't watching the output window, I would have no idea the exception is being thrown.

Is this expected?

I can handle this, I guess, by carefully wrapping all the code in my event handler with Try/Catch. However, I wanted some exceptions to bubble up and be handled in my app - specifically, those *I* throw. But they go nowhere. And I'm realizing... where would they emerge, anyway?
AnswerRe: Where do unhandled exceptions in event handlers go? Pin
astanton19785-Aug-08 2:26
astanton19785-Aug-08 2:26 
QuestionError in copying excel chart to clipboard Pin
dan!sh 5-Aug-08 1:21
professional dan!sh 5-Aug-08 1:21 
QuestionHow to show all items in DataGridViewComboBoxCell Pin
T.EDY5-Aug-08 0:22
T.EDY5-Aug-08 0:22 
AnswerRe: How to show all items in DataGridViewComboBoxCell Pin
nelsonpaixao5-Aug-08 13:12
nelsonpaixao5-Aug-08 13:12 
QuestionHow to read an image file Pin
Hari_10104-Aug-08 23:40
Hari_10104-Aug-08 23:40 
AnswerRe: How to read an image file Pin
Ashfield5-Aug-08 1:11
Ashfield5-Aug-08 1:11 
GeneralRe: How to read an image file Pin
Hari_10105-Aug-08 1:22
Hari_10105-Aug-08 1:22 
GeneralRe: How to read an image file Pin
astanton19785-Aug-08 2:28
astanton19785-Aug-08 2:28 
GeneralRe: How to read an image file Pin
Alan N5-Aug-08 6:29
Alan N5-Aug-08 6:29 
GeneralRe: How to read an image file Pin
Ashfield5-Aug-08 8:28
Ashfield5-Aug-08 8:28 
QuestionParsing color names Pin
AmitDey4-Aug-08 23:19
AmitDey4-Aug-08 23:19 
AnswerRe: Parsing color names Pin
Tony Richards4-Aug-08 23:23
Tony Richards4-Aug-08 23:23 
QuestionHow to search inside pdf files ? Pin
hdv2124-Aug-08 22:50
hdv2124-Aug-08 22:50 
GeneralRe: How to search inside pdf files ? Pin
dojohansen4-Aug-08 23:26
dojohansen4-Aug-08 23:26 
GeneralRe: How to search inside pdf files ? Pin
hdv2124-Aug-08 23:46
hdv2124-Aug-08 23:46 
AnswerRe: How to search inside pdf files ? Pin
blackjack21505-Aug-08 0:54
blackjack21505-Aug-08 0:54 
GeneralRe: How to search inside pdf files ? Pin
hdv2125-Aug-08 2:59
hdv2125-Aug-08 2:59 

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.