From a55678e5ef8819787cd55d6e448ca16a3f211401 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Wed, 8 Mar 2023 23:25:01 +0100 Subject: [PATCH] Using Html/Pdf Initializer --- WGneu/App.xaml | 1 + WGneu/App.xaml.cs | 21 ++++++++++++++++ WGneu/Documents/Document.cshtml.cs | 2 +- WGneu/Documents/Html.cs | 31 +++++++++++++++++++++++ WGneu/Documents/Pdf.cs | 40 +++++++++--------------------- WGneu/Documents/Template.cs | 2 +- WGneu/Windows/MainWindow.xaml | 4 +-- WGneu/Windows/MainWindow.xaml.cs | 4 ++- 8 files changed, 72 insertions(+), 33 deletions(-) create mode 100644 WGneu/Documents/Html.cs diff --git a/WGneu/App.xaml b/WGneu/App.xaml index eb0d788..3e2bd20 100644 --- a/WGneu/App.xaml +++ b/WGneu/App.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:WGneu" StartupUri="Windows\MainWindow.xaml" + Startup="App_Startup" xmlns:ui="http://schemas.modernwpf.com/2019">