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!
您可以捕获表单关闭事件,然后将保存代码放入其中。
我建议阅读这篇文章 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.