日期:2014-05-18 浏览次数:20968 次
private void listView1_SelectedIndexChanged(object sender, EventArgs e) { var selectitem = listView1.SelectedItems.Cast<ListViewItem>().FirstOrDefault(); if (selectitem != null) pictureBox1.Image = imageList1.Images[selectitem.ImageKey]; }