I had a number of userControls added to a tableLayout, what I want to do is dispose of all userControls however if I use the following code it only seems to dispose of the first userControl and not the rest:
Thanks
Simon
VB.NET:
For Each myControl As userDisplaySet In Me.tableDisplaySet.Controls
' Closes control
myControl.Dispose()
Next
Thanks
Simon