开发者

Perform some clean up action when form window closed

开发者 https://www.devze.com 2023-01-21 02:05 出处:网络
How do I run some clean up cod开发者_StackOverflow中文版e when a user closes a window?Subscribe to FormClosing event (if you are using WinForms and not WPF).You can hook up to the Closing event on you

How do I run some clean up cod开发者_StackOverflow中文版e when a user closes a window?


Subscribe to FormClosing event (if you are using WinForms and not WPF).


You can hook up to the Closing event on your window (if you are using WPF).

0

精彩评论

暂无评论...
验证码 换一张
取 消