質問

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