New slider

This commit is contained in:
seerge
2023-03-29 12:19:00 +02:00
parent 14dc1741f7
commit ec0a1b710e
7 changed files with 27 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
using Microsoft.Win32;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;
@@ -30,7 +31,7 @@ namespace CustomControls
return (int)registryValueObject <= 0;
}
public bool InitTheme(bool setDPI = true)
public bool InitTheme(bool setDPI = false)
{
bool newDarkTheme = CheckSystemDarkModeStatus();
bool changed = (darkTheme != newDarkTheme);