When I click a button in my C# application,it will add the PictureBox same Inline as well as same size side by side. if the first row is full,it will pass to the bottom row.How can I do that?
Asked
Active
Viewed 234 times
0
-
1please explain better your question – ʞᴉɯ Aug 28 '11 at 07:56
-
do you have a picturebox and you want to add another one on button click ? can you please explain more – Sara S. Aug 28 '11 at 08:24
-
@Sara Saeed-As you mentioned,I want to add another one. – MaxCoder88 Aug 28 '11 at 08:52
1 Answers
1
I believe you are after FlowLayoutPanel - just put all the picture box controls inside such panel and it will behave like you want, adding side by side then expand when it is "full".
Related question:
Populating a FlowLayoutPanel with a large number of controls and painting thumbnails on demand

Community
- 1
- 1

Shadow The GPT Wizard
- 66,030
- 26
- 140
- 208