摘要: 首先设置ListBox的DrawMode为非默认风格,并设置DrawItem事件,如下: /// <summary> /// Listbox文字交替样式 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void listBox1_DrawItem(object sender, DrawItemEventArgs e) { e.DrawBackground(); Brush myBrush = Brus 阅读全文
posted @ 2011-02-16 08:25 Yao,Mane 阅读(809) 评论(0) 推荐(0) 编辑