I'm going crazy. When I close my winforms app, by closing the start form, formclosing, formclosed or applicationevents are not executed.

Something is messing with my code so that it is skipped.

I have telerik version 2016 installed.

I have VS2022 or VS2026, .NET framework 4.8 (it is about to be an older app)

Anyone have an idea what could be wrong, or if there is another way to tell that you are about to exit the windows app?