I have an application, which, after a certain set of actions, refuses to close.
I can reproduce this consistently..
Using one method, I open a form, click any of a range of buttons (I've even removed the code from the button), then closed the form.
Using another method, I open a form, then closed it straight away.
Following the first method, anything I try to do to close the application is ignored.
Following the second, it closes normally.
This seems to me that either a thread is being left running somewhere or something else is preventing the form from closing.. has anyone come across this before ??