|
-
August 19th, 2010, 04:55 PM
#1
Why no error message from the exception ?
Hi All,
i have a code like this,
try
{
// some code here
...
Thread.Sleep(1000);
}
catch(Exception e)
{
MessageBox.Show(e.ToString());
if (mainDemoForm.stopWorkerThread == false)
{
MessageBox.Show("Error occured in Windows shared memory utility thread");
}
return;
}
My question is, i can see the message box saying "Error occured in ...",
but i cannot see the 1st message box, why ?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|