Added some error handling.
This commit is contained in:
24
AsusFanControlGUI/Properties/Settings.Designer.cs
generated
24
AsusFanControlGUI/Properties/Settings.Designer.cs
generated
@@ -142,5 +142,29 @@ namespace AsusFanControlGUI.Properties {
|
||||
this["updateSpeed"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool wasError {
|
||||
get {
|
||||
return ((bool)(this["wasError"]));
|
||||
}
|
||||
set {
|
||||
this["wasError"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string errorMsg {
|
||||
get {
|
||||
return ((string)(this["errorMsg"]));
|
||||
}
|
||||
set {
|
||||
this["errorMsg"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,5 +32,11 @@
|
||||
<Setting Name="updateSpeed" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">2000</Value>
|
||||
</Setting>
|
||||
<Setting Name="wasError" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="errorMsg" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Reference in New Issue
Block a user