This commit is contained in:
Serge
2024-03-12 23:53:33 +01:00
parent b7bed11b71
commit 2d9f06435a
11 changed files with 208 additions and 109 deletions

View File

@@ -397,6 +397,9 @@ namespace GHelper
checkBootSound.Checked = (Program.acpi.DeviceGet(AsusACPI.BootSound) == 1);
checkBootSound.CheckedChanged += CheckBootSound_CheckedChanged;
checkBWIcon.Checked = AppConfig.IsBWIcon();
checkBWIcon.CheckedChanged += CheckBWIcon_CheckedChanged;
pictureHelp.Click += PictureHelp_Click;
buttonServices.Click += ButtonServices_Click;
@@ -417,6 +420,12 @@ namespace GHelper
}
private void CheckBWIcon_CheckedChanged(object? sender, EventArgs e)
{
AppConfig.Set("bw_icon", (checkBWIcon.Checked ? 1 : 0));
Program.settingsForm.VisualiseIcon();
}
private void InitACPITesting()
{
if (!AppConfig.Is("debug")) return;