Dim doc As PrintDoc = e.Form.GernatePrintDoc()doc.Preview()
这句代码是打印这个窗口的,
'Dim grp As WinForm.table = e.Form.Controls("Table1")'Dim doc As PrintDoc = e.Form.GernatePrintDoc(grp)'doc.Preview()
这句代码会报错的,麻烦给给正常的代码谢谢