📜  c# 随机颜色 - C# 代码示例

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

代码示例1
Random r = new Random();
BackColor = Color.FromArgb(r.Next(0, 256), r.Next(0, 256), 0);