I have 50 images. I need to add these images in FlowLayoutPanel
, 30 images for 1st row after that wrap row and 20 images in second row. So I also need to show scrollbars on control.
I am dividing video into frames(images) and shown in FlowLayoutPanel
. When I upload first video below are the code to set image :
for (i = 1; i < len - 1; i++)
{
ImagePanel mybt = new ImagePanel(storagePath + words[0] + "_" +
i + ".jpg", words[0] + "_" + i + ".jpg");
flowLayoutPanel1.Controls.Add(mybt);
}
After that when I upload second image I want to show images like in first row we have first video images after break I need to show second video upload images. If anybody knows how it can possible.
See Question&Answers more detail:os