diff --git a/WGneu.sln b/Elwig.sln similarity index 88% rename from WGneu.sln rename to Elwig.sln index acf248d..3b3093d 100644 --- a/WGneu.sln +++ b/Elwig.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.3.32929.385 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WGneu", "WGneu\WGneu.csproj", "{00868460-16F6-4B48-AA9B-998F6263693B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elwig", "WGneu\Elwig.csproj", "{00868460-16F6-4B48-AA9B-998F6263693B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/WGneu/App.xaml b/WGneu/App.xaml index eb0d788..0cbbe6f 100644 --- a/WGneu/App.xaml +++ b/WGneu/App.xaml @@ -1,7 +1,7 @@ - diff --git a/WGneu/App.xaml.cs b/WGneu/App.xaml.cs index 1a6c4e8..d56280f 100644 --- a/WGneu/App.xaml.cs +++ b/WGneu/App.xaml.cs @@ -7,9 +7,9 @@ using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.IO; -using WGneu.Helpers; +using Elwig.Helpers; -namespace WGneu { +namespace Elwig { public partial class App : Application { public static bool IsPrintingReady => Documents.Html.IsReady && Documents.Pdf.IsReady; diff --git a/WGneu/Documents/BusinessDocument.cshtml b/WGneu/Documents/BusinessDocument.cshtml index ac7b169..87c5fd5 100644 --- a/WGneu/Documents/BusinessDocument.cshtml +++ b/WGneu/Documents/BusinessDocument.cshtml @@ -1,6 +1,6 @@ @using RazorLight -@inherits TemplatePage -@model WGneu.Documents.BusinessDocument +@inherits TemplatePage +@model Elwig.Documents.BusinessDocument @{ Layout = "Document"; }
diff --git a/WGneu/Documents/BusinessDocument.cshtml.cs b/WGneu/Documents/BusinessDocument.cshtml.cs index a715d37..597adf6 100644 --- a/WGneu/Documents/BusinessDocument.cshtml.cs +++ b/WGneu/Documents/BusinessDocument.cshtml.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using WGneu.Models; +using Elwig.Models; -namespace WGneu.Documents { +namespace Elwig.Documents { public abstract class BusinessDocument : Document { public BusinessDocument(string title, Member m) : base(title) { diff --git a/WGneu/Documents/BusinessLetter.cshtml b/WGneu/Documents/BusinessLetter.cshtml index 760eccd..c336d77 100644 --- a/WGneu/Documents/BusinessLetter.cshtml +++ b/WGneu/Documents/BusinessLetter.cshtml @@ -1,6 +1,6 @@ @using RazorLight -@inherits TemplatePage -@model WGneu.Documents.BusinessLetter +@inherits TemplatePage +@model Elwig.Documents.BusinessLetter @{ Layout = "BusinessDocument"; }

Sehr geehrtes Mitglied,

diff --git a/WGneu/Documents/BusinessLetter.cshtml.cs b/WGneu/Documents/BusinessLetter.cshtml.cs index 6a9ea3d..3662ec8 100644 --- a/WGneu/Documents/BusinessLetter.cshtml.cs +++ b/WGneu/Documents/BusinessLetter.cshtml.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using WGneu.Models; +using Elwig.Models; -namespace WGneu.Documents { +namespace Elwig.Documents { public class BusinessLetter : BusinessDocument { public BusinessLetter(string title, Member m) : base(title, m) { diff --git a/WGneu/Documents/Document.cshtml.cs b/WGneu/Documents/Document.cshtml.cs index efb9f3f..eaec042 100644 --- a/WGneu/Documents/Document.cshtml.cs +++ b/WGneu/Documents/Document.cshtml.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading.Tasks; using System.IO; using System.Windows; -using WGneu.Helpers; +using Elwig.Helpers; -namespace WGneu.Documents { +namespace Elwig.Documents { public abstract class Document : IDisposable { private TempFile? PdfFile = null; diff --git a/WGneu/Documents/Html.cs b/WGneu/Documents/Html.cs index e233994..167bfac 100644 --- a/WGneu/Documents/Html.cs +++ b/WGneu/Documents/Html.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace WGneu.Documents { +namespace Elwig.Documents { public static class Html { private static RazorLightEngine? Engine = null; public static bool IsReady => Engine != null; diff --git a/WGneu/Documents/Pdf.cs b/WGneu/Documents/Pdf.cs index ffbb64f..9983cb1 100644 --- a/WGneu/Documents/Pdf.cs +++ b/WGneu/Documents/Pdf.cs @@ -12,10 +12,10 @@ using PdfSharp.Pdf.IO; using PuppeteerSharp; using PuppeteerSharp.Media; using RazorLight; -using WGneu.Helpers; -using WGneu.Windows; +using Elwig.Helpers; +using Elwig.Windows; -namespace WGneu.Documents { +namespace Elwig.Documents { public static class Pdf { private static readonly string CHROMIUM = @"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"; diff --git a/WGneu/Documents/Style.css.cshtml b/WGneu/Documents/Style.css.cshtml index 6801eae..0388132 100644 --- a/WGneu/Documents/Style.css.cshtml +++ b/WGneu/Documents/Style.css.cshtml @@ -1,5 +1,5 @@ @using RazorLight -@inherits TemplatePage +@inherits TemplatePage