You are missing part of the code.
When you instantiate your button, you associate it with a method to handle its events.
Button1.Click += new EventHandler(this.Button1_Click);
If you are looking to change the name of your method (Button1_Click
) you will need to change both the method:
private void MyNewButtonEventHandler(object sender, EventArgs e)
And the handler:
Button1.Click += MyNewButtonEventHandler;
The handler code is usually in the designer.cs file.