In C #, you can assign all buttons to one event descriptor
protected void cmdButtons_Click(object sender, System.EventArgs e)
when the button with this event was pressed, and an instance of this button is passed to this event by the sender parameter.
( )
, , , , , . VB6 . , #, , .