If e.Form.ExistControl("Table1")=False Then Dim tbl As WinForm.Table tbl = e.Form.CreateTable("Table1", "销售订单", True) tbl.SetBounds(6, 330, 663, 250) e.Form.Controls("SplitContainer1").Panel2.AddControl(tbl)End IfTables("窗口名_Table1").AddNew()
你那个Else 后面是什么意思?