在C#中添加Auto PictureBox

时间:2011-08-28 07:55:19

标签: c# picturebox

当我单击C#应用程序中的按钮时,它将同时添加PictureBox相同的内联以及相同的大小。 如果第一行已满,它将传递到底行。我该怎么做?

1 个答案:

答案 0 :(得分:1)

我相信你是在FlowLayoutPanel之后 - 只需将所有图片框控件放在这样的面板中,它就会表现得像你想要的那样,并排添加然后在“满”时展开。

相关问题:
Populating a FlowLayoutPanel with a large number of controls and painting thumbnails on demand