How can I save data before exit or exception occurs?
in
Programming Questions
•
11 months ago
According to the demos, I learned how to save data to file when press a key to kill the program. But how can I do the same thing before I press the close button of the window? Thank you.
1