M
Michael Culley
I have an MDI application that was occasionally refusing to close. When clicking on the cross at the top right the app would just
not do anything and the only way to close it was to terminate it. The problem ended up being that in the Form_Closing event had
e.Cancel = True even though I've not set it to true (it took a while to find because it only ever happened once in the IDE). Setting
it to false fixed the problem. I've done a fair bit of searching and this problem has been encountered by many people but I couldn't
find any real solution. Most people reported that the closing event never fired but in my case it did. Does anyone know anything
about this?
not do anything and the only way to close it was to terminate it. The problem ended up being that in the Form_Closing event had
e.Cancel = True even though I've not set it to true (it took a while to find because it only ever happened once in the IDE). Setting
it to false fixed the problem. I've done a fair bit of searching and this problem has been encountered by many people but I couldn't
find any real solution. Most people reported that the closing event never fired but in my case it did. Does anyone know anything
about this?