I am building a Windows Application using Visual Studio 2008 in conjunction with VB.NET.
My application makes use of a custom User Control. The User Control has several label controls across the top. I have set the AutoSizeMode of the User Control to GrowAndShrink. My questions are:
(1) What operation(s) do I have to perform on the labels in order to remove them for the purposes of auto-shrinking the size of the rendered control? E.g., would labelname.Dispose() do it, or is something else required?
(2) After removing the labels, is it necessary to issue any explicit command to get the User Control to shrink, or does the User Control do this automatically as embedded base controls (the labels) are removed?
Thanks, Stu Engelman