Удалить все элементы управления из списка управления VB.NET
For Each control As Control In MyListOfControls
control.Dispose()
Next
Salty Joe
For Each control As Control In MyListOfControls
control.Dispose()
Next
Private Sub ClearControls()
'removing the controls from Me.Controls
Me.SuspendLayout()
For Each Control As Control In ListToDelete
Me.Controls.Remove(Control)
Next
Me.ResumeLayout()
ListToDelete = New List(Of Control)
End Sub