Imports Infragistics.Win Imports Infragistics.Win.Printing Imports Infragistics.Win.UltraWinGrid Imports Infragistics.Win.UltraWinScrollBar Imports Infragistics.Win.UltraWinToolbars Private Sub ultraPrintPreviewDialog1_Printed(ByVal sender As Object, ByVal e As System.EventArgs) Handles ultraPrintPreviewDialog1.Printed ' cast the sender to a UltraPrintPreviewDialog Dim printPreviewDialog As UltraPrintPreviewDialog = CType(sender, UltraPrintPreviewDialog) ' occurs after the print operation has completed End Sub
using Infragistics.Win; using Infragistics.Win.Printing; using Infragistics.Win.UltraWinGrid; using Infragistics.Win.UltraWinScrollBar; using Infragistics.Win.UltraWinToolbars; private void ultraPrintPreviewDialog1_Printed(object sender, System.EventArgs e) { // cast the sender to a UltraPrintPreviewDialog UltraPrintPreviewDialog printPreviewDialog = sender as UltraPrintPreviewDialog; // occurs after the print operation has completed }