Dim ct As WinForm.Table = e.Form.Controls("Table1")ct.Dock = Windows.Forms.DockStyle.Fill
For Index As Integer = 1 To 25 If e.Form.ExistControl("Painter" & Index) = True e.Form.RemoveControl("Painter" & Index) End IfNext