Buttons have a Click event for which an event handler can be created that will execute the actions you add to the event handler.