Dynamic Button creation and event binding

You’re doing this to one button:

image

Where are the other buttons?


Or to pass the name of the button out.

Don’t. Instead pass what the button is supposed to do - like an enumerator or some form of ID / or class - depends on what it’s supposed to do in the grand scheme of things