How do i detect the OK or X Button for Pocket PC 2002, so if the user clicks the OK or X Button, it will prompt the user for something.

I tried Form_Closing and Form_Closed and Form_Deactivate, but this 3 aren't the methods i want for the program.

Can anyone help me out on this ?