發布時間:2017-08-25 14:45 作者:獨孤劍 閱讀:1069
1.
ImageList imageList = new ImageList();
imageList.ImageSize = new Size(48, 48);this.listView1.EndUpdate();
2.
//this.listView1.Clear();
//this.listView1.Items.Clear();
//this.listView1.View = View.LargeIcon;
////this.listView1.LargeImageList = this.imageList2;
//this.listView1.BeginUpdate();
//for (int i = 0; i < 10; i++)
//{
// ListViewItem lvi = new ListViewItem();
// lvi.ImageIndex = i;
// lvi.Text = "item" + i;
// this.listView1.Items.Add(lvi);
//}
//this.listView1.EndUpdate();
微信打賞, 微信掃一掃
支付寶打賞, 支付寶掃一掃
如果文章對您有幫助,歡迎給作者打賞