Using C# 2005.
In a Windows application I have a button (not the button that is part of the ReportViewer control) which opens the client PrintDialog Window for the ReportViewer control.
I do this in a button because I am setting the default printer to a particular printer. I want to set the default printer back to a saved value after the dialog Window closes, but I don't know to capture the event when the PrintDialog Window closes.
Please help.
In a Windows application I have a button (not the button that is part of the ReportViewer control) which opens the client PrintDialog Window for the ReportViewer control.
Code:
this.reportViewer1.PrintDialog();
I do this in a button because I am setting the default printer to a particular printer. I want to set the default printer back to a saved value after the dialog Window closes, but I don't know to capture the event when the PrintDialog Window closes.
Please help.