Add Pdf.Display, Rename ActiveMemberInput

This commit is contained in:
2023-03-05 00:35:55 +01:00
parent 4c8f6e8cdc
commit 342c7b92bd
4 changed files with 36 additions and 14 deletions

View File

@ -30,5 +30,12 @@ namespace WGneu.Print {
await page.WaitForFunctionAsync("() => window.finished");
await page.PdfAsync(path_pdf);
}
public static void Display(string path) {
Process.Start(new ProcessStartInfo() {
FileName = path,
UseShellExecute = true,
});
}
}
}