Skip to content

Commit 0a292a4

Browse files
authored
Merge pull request #301 from TheNicker/highdpidotnet8
High DPI for .Net 8
2 parents 0d0cf9c + 307cf07 commit 0a292a4

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/LogExpert/Controls/LogTabWindow/LogTabWindow.designer.cs

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/LogExpert/LogExpert.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1515
<OutputPath>$(SolutionDir)..\bin\$(Configuration)</OutputPath>
1616
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
17-
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode>
17+
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
1818
<NoWarn>CS1591;CA1416;</NoWarn>
1919
</PropertyGroup>
2020
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

src/LogExpert/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ private static void Sub_Main(Server server, string[] orgArgs)
5252
{
5353
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
5454
Application.ThreadException += Application_ThreadException;
55+
ApplicationConfiguration.Initialize();
5556

5657
Application.EnableVisualStyles();
5758
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);

0 commit comments

Comments
 (0)