Minor fixes, Factory default profiles will apply immediately on click

This commit is contained in:
seerge
2023-02-23 14:14:11 +01:00
parent 41d92d76cc
commit 02ae48092b
6 changed files with 152 additions and 123 deletions

View File

@@ -17,6 +17,8 @@ namespace GHelper
static System.Timers.Timer aTimer = default!;
public string perfName;
Fans fans;
public SettingsForm()
@@ -66,7 +68,7 @@ namespace GHelper
SetTimer();
}
@@ -76,7 +78,8 @@ namespace GHelper
{
fans = new Fans();
fans.Show();
} else
}
else
{
fans.Close();
}
@@ -397,8 +400,6 @@ namespace GHelper
public void SetPerformanceMode(int PerformanceMode = ASUSWmi.PerformanceBalanced, bool notify = false)
{
string perfName;
buttonSilent.FlatAppearance.BorderSize = buttonInactive;
buttonBalanced.FlatAppearance.BorderSize = buttonInactive;
buttonTurbo.FlatAppearance.BorderSize = buttonInactive;