Information générale
Catégorie:
Windows Presentation Foundation (WPF)
>>So, what you're saying is, the report viewer control has a Print button and you want to hook into the click event. After the user prints, you want to display the dialog. Note, I have no experience with this control.
>>
>
>Yes, the user clicks on the Print button, then the printer dialog is displayed and when the user clicks on the Print button on this dialog the PrintingBegin event occurs. I can hook into this, but if I display the dialog here, it displays before the spooler has started and the spooler won't start until the dialog is closed.
have not done this, but can't you poll print queue via spooler API ? Printer dialogue does that, so get before print button and timer fired after and compare to decide on setting your flag.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement