在c#中listview怎样显示imagelist的图片
1个回答
2011-06-09
展开全部
this.imageList1.Images.Add(。。。);
this.imageList1.Images.Add(。。。);
this.listView1.LargeImageList = imageList1;
for (int i = 0; i < listView1.Items.Count; i++)
{
this.listView1.Items[i].ImageIndex = i;
}
this.imageList1.Images.Add(。。。);
this.listView1.LargeImageList = imageList1;
for (int i = 0; i < listView1.Items.Count; i++)
{
this.listView1.Items[i].ImageIndex = i;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询