I've got a section of code that needs to be executed at form closing, but neither the closed or closing events work for me. The code needs to be executed BEFORE the form actually closes (it needs to gracefully stop some pending operations if they're in progress).
I of course can link this to my exit buttons and menu items, but if someone clicks on the X in the top right, i still get errors.
Any thoughts?
Thanks!
I of course can link this to my exit buttons and menu items, but if someone clicks on the X in the top right, i still get errors.
Any thoughts?
Thanks!