basic advanced options

This commit is contained in:
Karmel0x
2024-03-07 23:42:43 +01:00
parent bd0162e5f4
commit 5a17ba223f
9 changed files with 171 additions and 51 deletions

View File

@@ -34,5 +34,29 @@ namespace AsusFanControlGUI.Properties {
this["fanSpeed"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool turnOffControlOnExit {
get {
return ((bool)(this["turnOffControlOnExit"]));
}
set {
this["turnOffControlOnExit"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool forbidUnsafeSettings {
get {
return ((bool)(this["forbidUnsafeSettings"]));
}
set {
this["forbidUnsafeSettings"] = value;
}
}
}
}

View File

@@ -5,5 +5,11 @@
<Setting Name="fanSpeed" Type="System.Int32" Scope="User">
<Value Profile="(Default)">90</Value>
</Setting>
<Setting Name="turnOffControlOnExit" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="forbidUnsafeSettings" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>