Dim tb1 As WinForm.Table Dim tb2 As WinForm.Table tb1=e.Form.createtable("table1","装车计量主表",false) tb2=e.Form.createtable("table2","装车计量主表.装车计量明细",false) tb1.SetBounds(10,10,600,400) tb2.SetBounds(10,10,600,400) e.Form.controls("SplitContainer2").panel1.addcontrol(tb1) e.Form.Controls("SplitContainer2").panel2.addcontrol(tb2)