using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WGneu.Print { class Template { private static readonly string ROOT = @"C:\Users\Lorenz\Desktop\"; public static async void Test() { await Pdf.Convert(ROOT + "din-5008.html", ROOT + "test.pdf"); Process.Start(new ProcessStartInfo() { FileName = ROOT + "test.pdf", UseShellExecute = true, }); } } }