参考代码
If e.Form.controls.contains("Table2") Then e.Form.RemoveControl("Table2")End IfDim tbl As WinForm.Tabletbl = e.Form.CreateTable("Table2", "基本信息.学前教育", False)tbl.SetBounds(155, 166, 200, 200)e.Form.AddControl(tbl)