Do you mean you want the size of the ListBox to grow/shrink as the user resizes the dialog?
To be honest I think that is the default behaviour. To control it the ListBox has a ResizeHeightWithDialog property. Turn this off and the ListBox will not resize as the dialog resizes.
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX18.104.22.168 MP11 64bit Testing: NX22.214.171.124