In my C# Windows Forms form I have some buttons which are dynamically generated. I assigned the following method on the click event. Is it possible to get the name of the bu
The first argument of the event handler, "object sender", contains a reference of an object/control which raised/fired an event.
object sender
var button = sender as Button;