C#C
C#3y ago
Ossie

❔ Execute code on WPF program close

Hi, is there a way I can execute some code every single time the application closes. Either if it crashes, is closed manually, the computer restarts, or closed thru task manager or whatever?

For WPF
Was this page helpful?