[#19] Printing/Pdf: Use WinziPrint's daemon function to allow parallel usage

This commit is contained in:
2024-03-02 19:55:51 +01:00
parent 376af72700
commit 46c97089e7
4 changed files with 31 additions and 14 deletions

View File

@ -143,6 +143,10 @@ namespace Elwig {
base.OnStartup(evt);
}
private async void Application_Exit(object sender, ExitEventArgs evt) {
await Pdf.Cleanup();
}
public static void SetBranch(Branch b) {
SetBranch((b.ZwstId, b.Name, b.PostalDest?.AtPlz?.Plz, b.PostalDest?.AtPlz?.Ort.Name, b.Address, b.PhoneNr, b.FaxNr, b.MobileNr));
}