The Flow Layout Panel control allows you to dynamically add new controls horizontally or vertically without worrying about the new controls appearing outside of the boundaries of the viewable area.
where is the source cdoe?