Click here to Skip to main content
16,019,140 members

Comments by CaptainBriBrian (Top 1 by date)

CaptainBriBrian 15-Jul-11 9:36am View    
Deleted
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 });
}

P.S. Sorry that I added it as something else (alternate or something), I'm kinda new here.