HeYuePrintDialog. PrintVisual (drawingVisual, file);//print
System. Diagnostics. Process. The Start (Application. ResourceAssembly. The Location).
Application. The Current. The Shutdown ();//restart
WPF application, in front of the exit the application, no print? Not behind two sentences, you can print?
How to do it before you exit the application to submit to print
CodePudding user response:
Wait for task execution of the print out again,CodePudding user response: