i am trying to use Application.ApplicationExit += ... and i can not get this to work because it is not in my mobile form. does anyone know how to get this into my mobile form? or any other way to execute code when my application is terminating.