📅  最后修改于: 2022-03-11 14:49:19.845000             🧑  作者: Mango
buttonName = "btn" + y.ToString() + x.ToString();
Control btn = this.Controls.Find(buttonName, true)[0] as Control;
btn.BackColor = System.Drawing.Color.Blue;