I have a listView which has Customer names, Services selected, and a Status. As for the status I would like to use images. If is Ok, or Canceled.
I would like to know how to add images (which are in Properites.Resources) to the listView into 2rd SubItem (Status).
But most important is how then to check which image is on the selected index. So far I was using words (OK and Canceled) and it was not hard to enter these words into subItems and not even hard to check them. But I am really not sure how to do the same with
My listView has detailed view, and I would like to keep it this way.
EDIT: I did this, but the image doesnt appear:
ImageList imageList1 = new ImageList();
private void Form1_Load(object sender, EventArgs e)
Image image1 = Properties.Resources.okIcon;
Image image2 = Properties.Resources.cancelIcon;
//I have added this line of code to connect imageList with my listView:
this.listViewLista.SmallImageList = imageList1;
//and then I have a code which
View Complete Post