今天偶尔用到listview控件,可是列表出来,一堆东西都堆在了一起。
在网上找到办法;;
ImageList imgList = new ImageList();
imgList.ImageSize = new Size(1, 20);//分别是宽和高
listView1.SmallImageList = imgList; //这里设置listView的SmallImageList,用imgList撑大
今天偶尔用到listview控件,可是列表出来,一堆东西都堆在了一起。
在网上找到办法;;
ImageList imgList = new ImageList();
imgList.ImageSize = new Size(1, 20);//分别是宽和高
listView1.SmallImageList = imgList; //这里设置listView的SmallImageList,用imgList撑大

被折叠的 条评论
为什么被折叠?