MSDN писал(а):In Visual Basic 6.0, the PrintForm method of a form could be used to send an image of the form to a printer. The PrintForm method is no longer supported in Visual Basic .NET. The results of the PrintForm method varied greatly depending on the screen resolution and the resolution of the printer; it was not the recommended method of printing. If you need to duplicate the functionality of the PrintForm method, you can automate the screen capture capabilities of a third-party graphics tool to capture and print an image of a form.
Private Sub MyForm1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
End Sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6