From a0ebecfe04e0923872d90a752c2b307a88315b98 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Thu, 16 Feb 2023 22:01:37 +0100 Subject: [PATCH] Added modernWPF --- WGneu/App.xaml | 10 ++++++++-- WGneu/MemberListWindow.xaml | 6 ++++-- WGneu/WGneu.csproj | 1 + 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/WGneu/App.xaml b/WGneu/App.xaml index c93f81a..1655798 100644 --- a/WGneu/App.xaml +++ b/WGneu/App.xaml @@ -2,8 +2,14 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:WGneu" - StartupUri="MainWindow.xaml"> + StartupUri="MainWindow.xaml" + xmlns:ui="http://schemas.modernwpf.com/2019"> - + + + + + + diff --git a/WGneu/MemberListWindow.xaml b/WGneu/MemberListWindow.xaml index 4a5f92f..5185a64 100644 --- a/WGneu/MemberListWindow.xaml +++ b/WGneu/MemberListWindow.xaml @@ -4,6 +4,8 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WGneu" + xmlns:ui="http://schemas.modernwpf.com/2019" + ui:WindowHelper.UseModernWindowStyle="True" mc:Ignorable="d" Title="Mitglieder" Height="450" Width="800" Loaded="Window_Loaded"> @@ -18,8 +20,8 @@ - - + + diff --git a/WGneu/WGneu.csproj b/WGneu/WGneu.csproj index 6c78bff..d3b8224 100644 --- a/WGneu/WGneu.csproj +++ b/WGneu/WGneu.csproj @@ -10,6 +10,7 @@ +