this.listBox1.DrawMode = DrawMode.OwnerDrawFixed;//启用自己Draw模式
private void listBox1_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e)
{
Brush br;
int r;
Math.DivRem(e.Index,2,out r);
if(r == 0)
br = Brushes.Red;
else
br = Brushes.Blue;
e.DrawBackground();
if((e.State & DrawItemState.Selected) == DrawItemState.Selected)
e.DrawFocusRectangle();
Brush b = Brushes.Black;
e.Graphics.FillRectangle(br,e.Bounds);
e.Graphics.DrawString(this.listBox1.Items[e.Index].ToString(),this.listBox1.Font,b,e.Bounds);
}