Application not closing from taskbar

Application not closing from taskbar

am 05.11.2007 10:06:38 von Kakkanattu

Hi,
I am developing an application in .NET 3.0. When i tried to right
click the application from task bar and click on Close, the
application is closing inconsistently. Also I put a promt at close
button. When I tried to close the application sometimes I am getting
the prompt and sometimes I am not getting the prompt and not closing
also.

Anyone please help me...
Thanks
Robin Mathew

Re: Application not closing from taskbar

am 05.11.2007 12:29:45 von Kevin Spencer

It sounds like you have an issue with the Form.OnClosing and/or
Form.OnClosed methods in your form. Some logic is preventing the Form from
either popping up the prompt and/or closing the Form.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"Kakkanattu" wrote in message
news:1194253598.775995.142530@50g2000hsm.googlegroups.com...
> Hi,
> I am developing an application in .NET 3.0. When i tried to right
> click the application from task bar and click on Close, the
> application is closing inconsistently. Also I put a promt at close
> button. When I tried to close the application sometimes I am getting
> the prompt and sometimes I am not getting the prompt and not closing
> also.
>
> Anyone please help me...
> Thanks
> Robin Mathew
>