Add the Button Click Event Handler ( Either using the IDE or manually using Message Map Macros ) and then add the needed code for the handler into it.