How to use imageList Control

后端 未结 3 1629
夕颜
夕颜 2020-12-16 03:03

I have some images that i added to imageList Cotrol manually. Now i need remove thart images from imageList depending on the key index and set as panel backgroud.

Ho

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-16 03:25

    i am using imagelist in list view.

    let say i have three images in imagelist and want to delete 2 image in it.

    i used code

        imagelist.Images.RemoveAt(2);
    

    code is deleting 2nd image but after that 3 image is bot visible although it is there

提交回复
热议问题