For Each c As WinForm.Control In e.Form.Controls("Panel1").children e.Form.removeControl(c.name)Next