An example would be to draw a command button on a form then rename the button to some name, commonly starting with cmd for a command button i.e cmdStart, in the properties at the bottom right of the IDE. Then double click the button which will produce the code,

VB Code:
  1. Private sub cmdStart_click()
  2.  
  3. End sub

And you add you actual code within this.