Simple, add a type control event added:
private void flowLayoutPanel1_ControlAdded(object sender, ControlEventArgs e) { if (flowLayoutPanel1.Controls.Count % 10 == 0) flowLayoutPanel1.SetFlowBreak(e.Control as Control, true); }
set AutoSize = true
set flowdirection = LeftToRight
Nicolas tyler
source share