문제

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