Click here to Skip to main content
15,881,600 members
Articles / Desktop Programming / Windows Forms

Quick 'n' easy Colour Combo Box

15 Jul 2011CPOL 705   1
Nice :)When adding the colors to the items in the combobox, you can add them as a range of objects too:public void LoadRainbow(){ this.Items.AddRange(new object[] { Color.Red, Color.Orange, Color.Yellow, Color.Green, Color.Blue, Color.Indigo, Color.Violet });}
Only logged in members can view this content

Please go to the Windows Forms Table of Contents to view the list of available articles in this section.