10-05-16, 08:03 AM
PHP كود :
Me.Button1.Hide()
Me.Button2.Hide()
Using pd As New PrintDialog
If pd.ShowDialog = Windows.Forms.DialogResult.OK Then
Using pf As New PowerPacks.Printing.PrintForm(Me)
pf.PrinterSettings = pd.PrinterSettings
pf.Print()
End Using
End If
End Using
Me.Button1.Show()
Me.Button2.Show()
