First Post!
So I'm working on Windows Mobile application for a class I'm in. We have a user's data being serialized to an XML file, which is working great. But I was wondering if there's a way to tell whenever a user quits the application(by clicking the X in the top right) so I can commit the changes to the XML file at the end of the application rather than serializing after each change made. Thanks in advance for any help!