📜  windows 窗体按钮边框颜色 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:19.845000             🧑  作者: Mango

代码示例1
buttonName = "btn" + y.ToString() + x.ToString();
Control btn = this.Controls.Find(buttonName, true)[0] as Control;
btn.BackColor = System.Drawing.Color.Blue;