It depends on the language you're using. In C#, the markup section of the control is modified:
<asp:Button ..... onclick="Button1_Click"
, in the Code Behind, the handler code is followed by the keyword Handles:
.... Button1_Click(.....) Handles Button1.Click
Hope this helps,