ListView ,ImageList
ImageList 图片存储组件

ListView 列表视图控件,显示带图标的项列表,其中可以显示大图标、小图标和数据。

View属性为Detail样式时,要明确编辑项、编辑列内容。
listView1.BeginUpdate();
listView1.Items[0].ImageIndex = 2;
listView1.Items[0].StateImageIndex = 1;
listView1.EndUpdate();
ImageList 图片存储组件

ListView 列表视图控件,显示带图标的项列表,其中可以显示大图标、小图标和数据。

View属性为Detail样式时,要明确编辑项、编辑列内容。
listView1.BeginUpdate();
listView1.Items[0].ImageIndex = 2;
listView1.Items[0].StateImageIndex = 1;
listView1.EndUpdate();
