wpf - c# printing how to handle cancel button? -


basically application can handle printing using printpageeventargs , printed successfully. problem i'm not sure how handle if user decided cancel printing. kindly refer below image:

enter image description here

now instead of user clicking on "save" button, user click on "cancel". may know method can override?

p/s: please note popup appear if printer microsoft xps document writer. not ordinary printdialog.showdialog();


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -