Rename to Elwig
This commit is contained in:
		@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 | 
				
			|||||||
# Visual Studio Version 17
 | 
					# Visual Studio Version 17
 | 
				
			||||||
VisualStudioVersion = 17.3.32929.385
 | 
					VisualStudioVersion = 17.3.32929.385
 | 
				
			||||||
MinimumVisualStudioVersion = 10.0.40219.1
 | 
					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
 | 
					EndProject
 | 
				
			||||||
Global
 | 
					Global
 | 
				
			||||||
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
						GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
				
			||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
<Application x:Class="WGneu.App"
 | 
					<Application x:Class="Elwig.App"
 | 
				
			||||||
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
             xmlns:local="clr-namespace:WGneu"
 | 
					             xmlns:local="clr-namespace:Elwig"
 | 
				
			||||||
             StartupUri="Windows\MainWindow.xaml"
 | 
					             StartupUri="Windows\MainWindow.xaml"
 | 
				
			||||||
             xmlns:ui="http://schemas.modernwpf.com/2019">
 | 
					             xmlns:ui="http://schemas.modernwpf.com/2019">
 | 
				
			||||||
    <Application.Resources>
 | 
					    <Application.Resources>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,9 +7,9 @@ using System.Threading.Tasks;
 | 
				
			|||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
using System.Windows.Controls;
 | 
					using System.Windows.Controls;
 | 
				
			||||||
using System.IO;
 | 
					using System.IO;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu {
 | 
					namespace Elwig {
 | 
				
			||||||
    public partial class App : Application {
 | 
					    public partial class App : Application {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public static bool IsPrintingReady => Documents.Html.IsReady && Documents.Pdf.IsReady;
 | 
					        public static bool IsPrintingReady => Documents.Html.IsReady && Documents.Pdf.IsReady;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
@using RazorLight
 | 
					@using RazorLight
 | 
				
			||||||
@inherits TemplatePage<WGneu.Documents.BusinessDocument>
 | 
					@inherits TemplatePage<Elwig.Documents.BusinessDocument>
 | 
				
			||||||
@model WGneu.Documents.BusinessDocument
 | 
					@model Elwig.Documents.BusinessDocument
 | 
				
			||||||
@{ Layout = "Document"; }
 | 
					@{ Layout = "Document"; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="info-wrapper">
 | 
					<div class="info-wrapper">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
 | 
				
			|||||||
using System.Linq;
 | 
					using System.Linq;
 | 
				
			||||||
using System.Text;
 | 
					using System.Text;
 | 
				
			||||||
using System.Threading.Tasks;
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
using WGneu.Models;
 | 
					using Elwig.Models;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Documents {
 | 
					namespace Elwig.Documents {
 | 
				
			||||||
    public abstract class BusinessDocument : Document {
 | 
					    public abstract class BusinessDocument : Document {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public BusinessDocument(string title, Member m) : base(title) {
 | 
					        public BusinessDocument(string title, Member m) : base(title) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
@using RazorLight
 | 
					@using RazorLight
 | 
				
			||||||
@inherits TemplatePage<WGneu.Documents.BusinessLetter>
 | 
					@inherits TemplatePage<Elwig.Documents.BusinessLetter>
 | 
				
			||||||
@model WGneu.Documents.BusinessLetter
 | 
					@model Elwig.Documents.BusinessLetter
 | 
				
			||||||
@{ Layout = "BusinessDocument"; }
 | 
					@{ Layout = "BusinessDocument"; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<p>Sehr geehrtes Mitglied,</p>
 | 
					<p>Sehr geehrtes Mitglied,</p>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
 | 
				
			|||||||
using System.Linq;
 | 
					using System.Linq;
 | 
				
			||||||
using System.Text;
 | 
					using System.Text;
 | 
				
			||||||
using System.Threading.Tasks;
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
using WGneu.Models;
 | 
					using Elwig.Models;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Documents {
 | 
					namespace Elwig.Documents {
 | 
				
			||||||
    public class BusinessLetter : BusinessDocument {
 | 
					    public class BusinessLetter : BusinessDocument {
 | 
				
			||||||
        public BusinessLetter(string title, Member m) : base(title, m) {
 | 
					        public BusinessLetter(string title, Member m) : base(title, m) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,9 +5,9 @@ using System.Text;
 | 
				
			|||||||
using System.Threading.Tasks;
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
using System.IO;
 | 
					using System.IO;
 | 
				
			||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Documents {
 | 
					namespace Elwig.Documents {
 | 
				
			||||||
    public abstract class Document : IDisposable {
 | 
					    public abstract class Document : IDisposable {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private TempFile? PdfFile = null;
 | 
					        private TempFile? PdfFile = null;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@ using System.Linq;
 | 
				
			|||||||
using System.Text;
 | 
					using System.Text;
 | 
				
			||||||
using System.Threading.Tasks;
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Documents {
 | 
					namespace Elwig.Documents {
 | 
				
			||||||
    public static class Html {
 | 
					    public static class Html {
 | 
				
			||||||
        private static RazorLightEngine? Engine = null;
 | 
					        private static RazorLightEngine? Engine = null;
 | 
				
			||||||
        public static bool IsReady => Engine != null;
 | 
					        public static bool IsReady => Engine != null;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,10 +12,10 @@ using PdfSharp.Pdf.IO;
 | 
				
			|||||||
using PuppeteerSharp;
 | 
					using PuppeteerSharp;
 | 
				
			||||||
using PuppeteerSharp.Media;
 | 
					using PuppeteerSharp.Media;
 | 
				
			||||||
using RazorLight;
 | 
					using RazorLight;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
using WGneu.Windows;
 | 
					using Elwig.Windows;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Documents {
 | 
					namespace Elwig.Documents {
 | 
				
			||||||
    public static class Pdf {
 | 
					    public static class Pdf {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private static readonly string CHROMIUM = @"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe";
 | 
					        private static readonly string CHROMIUM = @"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
@using RazorLight
 | 
					@using RazorLight
 | 
				
			||||||
@inherits TemplatePage<WGneu.Documents.Document>
 | 
					@inherits TemplatePage<Elwig.Documents.Document>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<style>
 | 
					<style>
 | 
				
			||||||
    :root {
 | 
					    :root {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,10 @@
 | 
				
			|||||||
	<ApplicationIcon>elwig.ico</ApplicationIcon>
 | 
						<ApplicationIcon>elwig.ico</ApplicationIcon>
 | 
				
			||||||
  </PropertyGroup>
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <None Remove="Models\AT_Plz.cs~RF10c9cd6d.TMP" />
 | 
				
			||||||
 | 
					  </ItemGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ItemGroup>
 | 
					  <ItemGroup>
 | 
				
			||||||
    <Content Include="elwig.ico" />
 | 
					    <Content Include="elwig.ico" />
 | 
				
			||||||
  </ItemGroup>
 | 
					  </ItemGroup>
 | 
				
			||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using WGneu.Models;
 | 
					using Elwig.Models;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Helpers {
 | 
					namespace Elwig.Helpers {
 | 
				
			||||||
    public class AppDbContext : DbContext {
 | 
					    public class AppDbContext : DbContext {
 | 
				
			||||||
        public DbSet<Country> Countries { get; set; }
 | 
					        public DbSet<Country> Countries { get; set; }
 | 
				
			||||||
        public DbSet<Member> Members { get; set; }
 | 
					        public DbSet<Member> Members { get; set; }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@ using System.Linq;
 | 
				
			|||||||
using System.Text;
 | 
					using System.Text;
 | 
				
			||||||
using System.Threading.Tasks;
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Helpers {
 | 
					namespace Elwig.Helpers {
 | 
				
			||||||
    // 1 °KMW = 
 | 
					    // 1 °KMW = 
 | 
				
			||||||
    // 1 °NM  = kg/100L = 10g/L
 | 
					    // 1 °NM  = kg/100L = 10g/L
 | 
				
			||||||
    // 1 °Oe  = 
 | 
					    // 1 °Oe  = 
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using System;
 | 
					using System;
 | 
				
			||||||
using System.IO;
 | 
					using System.IO;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Helpers {
 | 
					namespace Elwig.Helpers {
 | 
				
			||||||
    public sealed class TempFile : IDisposable {
 | 
					    public sealed class TempFile : IDisposable {
 | 
				
			||||||
        private int Usages = 0;
 | 
					        private int Usages = 0;
 | 
				
			||||||
        public string FilePath { get; private set; }
 | 
					        public string FilePath { get; private set; }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@ using System.Windows.Controls;
 | 
				
			|||||||
using System.Diagnostics;
 | 
					using System.Diagnostics;
 | 
				
			||||||
using System.Windows.Controls.Primitives;
 | 
					using System.Windows.Controls.Primitives;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Helpers {
 | 
					namespace Elwig.Helpers {
 | 
				
			||||||
    public static class Utils {
 | 
					    public static class Utils {
 | 
				
			||||||
        public static void SetInputChanged(Control input) {
 | 
					        public static void SetInputChanged(Control input) {
 | 
				
			||||||
            var brush = Brushes.Orange;
 | 
					            var brush = Brushes.Orange;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,9 +2,9 @@
 | 
				
			|||||||
using System.Collections.Generic;
 | 
					using System.Collections.Generic;
 | 
				
			||||||
using System.Linq;
 | 
					using System.Linq;
 | 
				
			||||||
using System.Windows.Controls;
 | 
					using System.Windows.Controls;
 | 
				
			||||||
using WGneu.Models;
 | 
					using Elwig.Models;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Helpers {
 | 
					namespace Elwig.Helpers {
 | 
				
			||||||
    static class Validator {
 | 
					    static class Validator {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private static readonly Dictionary<string, string[][]> PHONE_NRS = new() {
 | 
					        private static readonly Dictionary<string, string[][]> PHONE_NRS = new() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("AT_gem"), PrimaryKey("Gkz")]
 | 
					    [Table("AT_gem"), PrimaryKey("Gkz")]
 | 
				
			||||||
    public class AT_Gem {
 | 
					    public class AT_Gem {
 | 
				
			||||||
        [Column("gkz")]
 | 
					        [Column("gkz")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("AT_kg"), PrimaryKey("KgNr")]
 | 
					    [Table("AT_kg"), PrimaryKey("KgNr")]
 | 
				
			||||||
    public class AT_Kg {
 | 
					    public class AT_Kg {
 | 
				
			||||||
        [Column("kgnr")]
 | 
					        [Column("kgnr")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("AT_ort"), PrimaryKey("Okz")]
 | 
					    [Table("AT_ort"), PrimaryKey("Okz")]
 | 
				
			||||||
    public class AT_Ort {
 | 
					    public class AT_Ort {
 | 
				
			||||||
        [Column("okz")]
 | 
					        [Column("okz")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
using System.Collections.Generic;
 | 
					using System.Collections.Generic;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("AT_plz"), PrimaryKey("Plz")]
 | 
					    [Table("AT_plz"), PrimaryKey("Plz")]
 | 
				
			||||||
    public class AT_Plz {
 | 
					    public class AT_Plz {
 | 
				
			||||||
        [Column("plz")]
 | 
					        [Column("plz")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("AT_plz_dest"), PrimaryKey("Id"), Index("Plz", "Okz", IsUnique = true)]
 | 
					    [Table("AT_plz_dest"), PrimaryKey("Id"), Index("Plz", "Okz", IsUnique = true)]
 | 
				
			||||||
    public class AT_PlzDest {
 | 
					    public class AT_PlzDest {
 | 
				
			||||||
        [Column("plz")]
 | 
					        [Column("plz")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("area_commitment"), PrimaryKey("VNr", "KgNr", "GstNr")]
 | 
					    [Table("area_commitment"), PrimaryKey("VNr", "KgNr", "GstNr")]
 | 
				
			||||||
    public class AreaCommitment {
 | 
					    public class AreaCommitment {
 | 
				
			||||||
        [Column("vnr")]
 | 
					        [Column("vnr")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
using System.Collections.Generic;
 | 
					using System.Collections.Generic;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("branch"), PrimaryKey("ZwstId")]
 | 
					    [Table("branch"), PrimaryKey("ZwstId")]
 | 
				
			||||||
    public class Branch {
 | 
					    public class Branch {
 | 
				
			||||||
        [Column("zwstid")]
 | 
					        [Column("zwstid")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
 | 
				
			|||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
using System.Linq;
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("contract"), PrimaryKey("VNr")]
 | 
					    [Table("contract"), PrimaryKey("VNr")]
 | 
				
			||||||
    public class Contract {
 | 
					    public class Contract {
 | 
				
			||||||
        [Column("vnr")]
 | 
					        [Column("vnr")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("country"), PrimaryKey("Alpha2")]
 | 
					    [Table("country"), PrimaryKey("Alpha2")]
 | 
				
			||||||
    public class Country {
 | 
					    public class Country {
 | 
				
			||||||
        [Column("alpha2")]
 | 
					        [Column("alpha2")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,7 @@ using System;
 | 
				
			|||||||
using System.Collections.Generic;
 | 
					using System.Collections.Generic;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("member"), PrimaryKey("MgNr")]
 | 
					    [Table("member"), PrimaryKey("MgNr")]
 | 
				
			||||||
    public class Member {
 | 
					    public class Member {
 | 
				
			||||||
        [Column("mgnr")]
 | 
					        [Column("mgnr")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("postal_dest"), PrimaryKey("CountryCode", "Id")]
 | 
					    [Table("postal_dest"), PrimaryKey("CountryCode", "Id")]
 | 
				
			||||||
    public class PostalDest {
 | 
					    public class PostalDest {
 | 
				
			||||||
        [Column("country")]
 | 
					        [Column("country")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("wb_kg"), PrimaryKey("KgNr")]
 | 
					    [Table("wb_kg"), PrimaryKey("KgNr")]
 | 
				
			||||||
    public class WbKg {
 | 
					    public class WbKg {
 | 
				
			||||||
        [Column("kgnr")]
 | 
					        [Column("kgnr")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("wb_rd"), PrimaryKey("KgNr", "RdNr")]
 | 
					    [Table("wb_rd"), PrimaryKey("KgNr", "RdNr")]
 | 
				
			||||||
    public class WbRd {
 | 
					    public class WbRd {
 | 
				
			||||||
        [Column("kgnr")]
 | 
					        [Column("kgnr")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("wine_attribute"), PrimaryKey("AttrId")]
 | 
					    [Table("wine_attribute"), PrimaryKey("AttrId")]
 | 
				
			||||||
    public class WineAttr {
 | 
					    public class WineAttr {
 | 
				
			||||||
        [Column("attrid")]
 | 
					        [Column("attrid")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("wine_cultivation"), PrimaryKey("CultId")]
 | 
					    [Table("wine_cultivation"), PrimaryKey("CultId")]
 | 
				
			||||||
    public class WineCult {
 | 
					    public class WineCult {
 | 
				
			||||||
        [Column("cultid")]
 | 
					        [Column("cultid")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("wine_quality"), PrimaryKey("QualId")]
 | 
					    [Table("wine_quality"), PrimaryKey("QualId")]
 | 
				
			||||||
    public class WineQual {
 | 
					    public class WineQual {
 | 
				
			||||||
        [Column("qualid")]
 | 
					        [Column("qualid")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore;
 | 
					using Microsoft.EntityFrameworkCore;
 | 
				
			||||||
using System.ComponentModel.DataAnnotations.Schema;
 | 
					using System.ComponentModel.DataAnnotations.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Models {
 | 
					namespace Elwig.Models {
 | 
				
			||||||
    [Table("wine_variety"), PrimaryKey("SortId")]
 | 
					    [Table("wine_variety"), PrimaryKey("SortId")]
 | 
				
			||||||
    public class WineVar {
 | 
					    public class WineVar {
 | 
				
			||||||
        [Column("sortid")]
 | 
					        [Column("sortid")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
<Window x:Class="WGneu.Windows.ContractListWindow"
 | 
					<Window x:Class="Elwig.Windows.ContractListWindow"
 | 
				
			||||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
					        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
				
			||||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
					        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
				
			||||||
        xmlns:local="clr-namespace:WGneu.Windows"
 | 
					        xmlns:local="clr-namespace:Elwig.Windows"
 | 
				
			||||||
        mc:Ignorable="d"
 | 
					        mc:Ignorable="d"
 | 
				
			||||||
        Title="Flächenbindungen" Height="450" Width="800">
 | 
					        Title="Flächenbindungen" Height="450" Width="800">
 | 
				
			||||||
    <Grid>
 | 
					    <Grid>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,10 +3,10 @@ using System.Collections.Generic;
 | 
				
			|||||||
using System.Linq;
 | 
					using System.Linq;
 | 
				
			||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
using System.Windows.Controls;
 | 
					using System.Windows.Controls;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
using WGneu.Models;
 | 
					using Elwig.Models;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Windows {
 | 
					namespace Elwig.Windows {
 | 
				
			||||||
    public partial class ContractListWindow : Window {
 | 
					    public partial class ContractListWindow : Window {
 | 
				
			||||||
        private readonly AppDbContext Context = new();
 | 
					        private readonly AppDbContext Context = new();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
<Window x:Class="WGneu.Windows.DeliveryReceptionWindow"
 | 
					<Window x:Class="Elwig.Windows.DeliveryReceptionWindow"
 | 
				
			||||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
					        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
				
			||||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
					        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
				
			||||||
        xmlns:local="clr-namespace:WGneu.Windows"
 | 
					        xmlns:local="clr-namespace:Elwig.Windows"
 | 
				
			||||||
        mc:Ignorable="d"
 | 
					        mc:Ignorable="d"
 | 
				
			||||||
        Title="Übernahme" Height="450" Width="800">
 | 
					        Title="Übernahme" Height="450" Width="800">
 | 
				
			||||||
    <Grid>
 | 
					    <Grid>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Windows {
 | 
					namespace Elwig.Windows {
 | 
				
			||||||
    public partial class DeliveryReceptionWindow : Window {
 | 
					    public partial class DeliveryReceptionWindow : Window {
 | 
				
			||||||
        public DeliveryReceptionWindow() {
 | 
					        public DeliveryReceptionWindow() {
 | 
				
			||||||
            InitializeComponent();
 | 
					            InitializeComponent();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,10 +1,10 @@
 | 
				
			|||||||
<Window x:Class="WGneu.Windows.DocumentViewerWindow"
 | 
					<Window x:Class="Elwig.Windows.DocumentViewerWindow"
 | 
				
			||||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
					        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
				
			||||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
					        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
				
			||||||
        xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
 | 
					        xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
 | 
				
			||||||
        xmlns:local="clr-namespace:WGneu.Windows"
 | 
					        xmlns:local="clr-namespace:Elwig.Windows"
 | 
				
			||||||
        mc:Ignorable="d"
 | 
					        mc:Ignorable="d"
 | 
				
			||||||
        Closed="OnClosed"
 | 
					        Closed="OnClosed"
 | 
				
			||||||
        Title="PDF Ansicht"
 | 
					        Title="PDF Ansicht"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
using System;
 | 
					using System;
 | 
				
			||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Windows {
 | 
					namespace Elwig.Windows {
 | 
				
			||||||
    public partial class DocumentViewerWindow : Window {
 | 
					    public partial class DocumentViewerWindow : Window {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private TempFile? PdfFile = null;
 | 
					        private TempFile? PdfFile = null;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,11 +1,11 @@
 | 
				
			|||||||
<Window x:Class="WGneu.Windows.MainWindow"
 | 
					<Window x:Class="Elwig.Windows.MainWindow"
 | 
				
			||||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
					        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
				
			||||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
					        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
				
			||||||
        xmlns:local="clr-namespace:WGneu.Windows"
 | 
					        xmlns:local="clr-namespace:Elwig.Windows"
 | 
				
			||||||
        mc:Ignorable="d"
 | 
					        mc:Ignorable="d"
 | 
				
			||||||
        Title="MainWindow" Height="450" Width="800" ResizeMode="CanResize" SizeToContent="Manual"
 | 
					        Title="Elwig" Height="450" Width="800" ResizeMode="CanResize" SizeToContent="Manual"
 | 
				
			||||||
        Loaded="Window_Loaded">
 | 
					        Loaded="Window_Loaded">
 | 
				
			||||||
    <Grid>
 | 
					    <Grid>
 | 
				
			||||||
        <Button x:Name="Button2" Content="Mitglieder" Margin="472,182,178,0" VerticalAlignment="Top" Click="Button2_Click"/>
 | 
					        <Button x:Name="Button2" Content="Mitglieder" Margin="472,182,178,0" VerticalAlignment="Top" Click="Button2_Click"/>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,10 +7,10 @@ using System.Runtime.Intrinsics.X86;
 | 
				
			|||||||
using System.Text;
 | 
					using System.Text;
 | 
				
			||||||
using System.Threading.Tasks;
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
using WGneu.Documents;
 | 
					using Elwig.Documents;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Windows {
 | 
					namespace Elwig.Windows {
 | 
				
			||||||
    public partial class MainWindow : Window {
 | 
					    public partial class MainWindow : Window {
 | 
				
			||||||
        private readonly AppDbContext Context = new();
 | 
					        private readonly AppDbContext Context = new();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,10 +1,10 @@
 | 
				
			|||||||
<Window x:Class="WGneu.Windows.MemberListWindow"
 | 
					<Window x:Class="Elwig.Windows.MemberListWindow"
 | 
				
			||||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
					        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
					        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
					        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
				
			||||||
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
					        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
				
			||||||
        xmlns:local="clr-namespace:WGneu.Windows"
 | 
					        xmlns:local="clr-namespace:Elwig.Windows"
 | 
				
			||||||
        Title="Mitglieder" Height="600" Width="1200" MinHeight="600" MinWidth="1000"
 | 
					        Title="Mitglieder verwalten - Elwig" Height="600" Width="1200" MinHeight="600" MinWidth="1000"
 | 
				
			||||||
        Loaded="Window_Loaded">
 | 
					        Loaded="Window_Loaded">
 | 
				
			||||||
    <Window.Resources>
 | 
					    <Window.Resources>
 | 
				
			||||||
        <Style TargetType="Label">
 | 
					        <Style TargetType="Label">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,11 +7,11 @@ using System.Linq;
 | 
				
			|||||||
using System.Windows;
 | 
					using System.Windows;
 | 
				
			||||||
using System.Windows.Controls;
 | 
					using System.Windows.Controls;
 | 
				
			||||||
using System.Windows.Input;
 | 
					using System.Windows.Input;
 | 
				
			||||||
using WGneu.Helpers;
 | 
					using Elwig.Helpers;
 | 
				
			||||||
using WGneu.Models;
 | 
					using Elwig.Models;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace WGneu.Windows {
 | 
					namespace Elwig.Windows {
 | 
				
			||||||
    public partial class MemberListWindow : Window {
 | 
					    public partial class MemberListWindow : Window {
 | 
				
			||||||
        private bool IsEditing = false;
 | 
					        private bool IsEditing = false;
 | 
				
			||||||
        private bool IsCreating = false;
 | 
					        private bool IsCreating = false;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user