The click handler is usually structured like this:
protected void MyButton_Click(object sender, EventArgs e)
In this, what you're looking for is object sender
. That will be a reference to the control which sent the click event. It's boxed as an object
but if you know the type (in your case you say they're all buttons) then you can cast it:
var myButton = (Button)sender;