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 ?