I thought about something like this:
Code:
mapPointApplication.BeforeClose += new MapPoint._ApplicationEvents_BeforeCloseEventHandler(mapPoint_Closing);
But the code is not totally right.
I'm not so familiar with eventhandler. Do you know how add the right event handler for the beforeclose Event?
Bye,
MD