My program creates buttons dynamically.
private void CreateButton(string buttonName) { Color[] c = { Color.Red, Color.Teal, Color.Blue, Color.WhiteSmoke
You have a reference to the button that was clicked right there as the sender argument. So...
sender
private void transbutton_Click(object sender, EventArgs e) { tbList.Text += "\r\n" + ((Button)sender).Text; }