摘要:
private void Form1_Load(object sender, EventArgs e){ listBox1.Items.Add("红色"); listBox1.Items.Add("黄色"); listBox1.Items.Add("蓝色"); listBox1.DrawMode = DrawMode.OwnerDrawFixed; // 属性里设置}private void listBox1_DrawItem(object sender, DrawItemEventArgs e){ Color vColor = e. 阅读全文