Reputation: 5087
I am inheriting from the PrintPreviwDialog class in c#. I want to override the Print button on the toolbar, so that I can give the option of printer selection.
Unfortunately it looks like the toolbar control that has the print button is private, and I don't see any events that I can override.
There must be some solution to getting the print preview dialog and then being allowed to use the PrintDialog control.
Upvotes: 0
Views: 2017
Reputation: 52608
Use the PrintDialog first to select a printer then open the PrintPreviewDialog.
Upvotes: 0
Reputation: 5087
It would appear I just have to recreate all the functionality I want in a new form with the controls. The PrintPreviewDialog class is worthless.
Upvotes: 1