From b6269f8131723d20e1bfa7416415b452812190d7 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner <lorenz.stechauner@necronda.net> Date: Tue, 5 Mar 2024 11:10:09 +0100 Subject: [PATCH] [#16] MessageBox: Update visual style to look like current windows style --- Elwig/Elwig.csproj | 1 + Elwig/app.manifest | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 Elwig/app.manifest diff --git a/Elwig/Elwig.csproj b/Elwig/Elwig.csproj index d5d721f..d478427 100644 --- a/Elwig/Elwig.csproj +++ b/Elwig/Elwig.csproj @@ -10,6 +10,7 @@ <Version>0.6.8</Version> <SatelliteResourceLanguages>de-AT</SatelliteResourceLanguages> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <ApplicationManifest>app.manifest</ApplicationManifest> </PropertyGroup> <ItemGroup> diff --git a/Elwig/app.manifest b/Elwig/app.manifest new file mode 100644 index 0000000..9511f1c --- /dev/null +++ b/Elwig/app.manifest @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> + <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> + <security> + <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> + <requestedExecutionLevel level="asInvoker" uiAccess="false" /> + </requestedPrivileges> + </security> + </trustInfo> + + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /> + </application> + </compatibility> + + <dependency> + <dependentAssembly> + <assemblyIdentity + type="win32" + name="Microsoft.Windows.Common-Controls" + version="6.0.0.0" + processorArchitecture="*" + publicKeyToken="6595b64144ccf1df" + language="*" + /> + </dependentAssembly> + </dependency> +</assembly>