Hi everyone , I want all of System.Drawing.Color in one list box but the colors don't have any numbers . what shall I do ?

Sounds like you mean a list of all the predefined colors, like Color.Violet, yes? You could use reflection to determine all of the static properties of the Color class that have a property type of Color themselves. Do you know how to do that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.