Call me stupid but in .Net2 when I needed a container similar to the VB6 Repeater control I?d still do the .Net1x route of using a panel and have to code in the placement with a calculation of the height of the user control * number of controls already added. Not a big deal but tedious because of the X,Y?s also having to account for the panel?s relative place on the form and the panel's border width. Duh. There's that FlowLayoutPanel control that does the repeater control functions. Here's an app that shows how. I guess I can throw out that silly code after all, great to not have to think so hard anymore. 
Happy holidays. Click here to get (just 7k) -smith added to smithvoice december 2006 |