Hello i am having groupbox which contain panel, in that panel i have added multiple images dynamically, i want to select and deselect that image thumbnails as per requirement, so please help me out my groupbox looks like as . enter image description here

how can i select or deselect multiple images from this... here is my code

 private void AddFacesToPictureBoxes(List<PictureBox> pictureBoxes)
        {
            foreach (var pic in pictureBoxes)
                this.pnlFacetbox.Controls.Add(pic);
                this.gbFacets.Controls.Clear();
                this.gbFacets.Controls.Add(pnlFacetbox);
        }
有帮助吗?

解决方案

Winform datagrid has inbuilt feature of checkbox column,image column and in addition it can be easy scrollable.I hope it exactly your looking for

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top