This error occurs when you try to call a method or access a class member that does not exist.
Details here:
Compiler Error CS1061[
^]
Make sure that the class in which you define your new button controls (where you defined their click events too, ex Button2 & Button2_Click click event) & the event method
public void Button2_Click(object sender, EventArgs e)
are in the same class scope.