mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
simplify dpi-aware coding using default argument
This commit is contained in:
parent
ed49813531
commit
3840a9108a
6 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@ namespace PersistentWindows.Common
|
|||
|
||||
public LayoutProfile()
|
||||
{
|
||||
User32.SetThreadDpiAwarenessContextSafe(User32.DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
|
||||
User32.SetThreadDpiAwarenessContextSafe();
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue