Allow DPI changes via text input

This commit is contained in:
IceStormNG
2023-07-24 18:04:46 +02:00
parent 150c2c75d6
commit f70285c017
3 changed files with 70 additions and 30 deletions

View File

@@ -77,6 +77,12 @@ public static class ControlHelper
combo.ButtonColor = RForm.buttonMain;
combo.ArrowColor = RForm.foreMain;
}
var numbericUpDown = control as NumericUpDown;
if(numbericUpDown is not null)
{
numbericUpDown.ForeColor = RForm.foreMain;
numbericUpDown.BackColor = RForm.buttonMain;
}
var gb = control as GroupBox;
if (gb != null)