You write the logic for the menu items in their Click event. For example, to make the Exit menu option close the application, you would write this code:
EVTROUTINE HANDLING(#MITM_10.Click)
exit
ENDROUTINE