日期:2014-05-20 浏览次数:20780 次
foreach (var item in typeof(System.Drawing.Color).GetMembers()) { if (item.MemberType == System.Reflection.MemberTypes.Property) { MessageBox.Show(System.Drawing.Color.FromName(item.Name).Name); } }