private void listView1_DrawItem(object sender, DrawListViewItemEventArgs e)
{
e.DrawText();
e.Item.ForeColor = e.Item.Text.Contains("空")?Color.Red: Color.Green;
}
老师给的。真蛋疼啊~~
{
e.DrawText();
e.Item.ForeColor = e.Item.Text.Contains("空")?Color.Red: Color.Green;
}
老师给的。真蛋疼啊~~