除非重新打开窗口,不然无法把关联表重新放回来的。
Dim f As WinForm.Form = Forms("窗口2")f.showDim doc As PrintDoc = f.GernatePrintDoc()Doc.Previewf.closee.Form.closee.Form.show