New feature: Monitor on start (#42)

* Implement monitor on start

* finish implementation of monitor on start
This commit is contained in:
Xjph 2021-12-18 12:21:07 -03:30 committed by GitHub
commit 889825275d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 39 additions and 3 deletions

View file

@ -238,5 +238,17 @@ namespace Observatory.Properties {
this["NativeNotifyTimeout"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool StartMonitor {
get {
return ((bool)(this["StartMonitor"]));
}
set {
this["StartMonitor"] = value;
}
}
}
}

View file

@ -56,5 +56,8 @@
<Setting Name="NativeNotifyTimeout" Type="System.Int32" Scope="User">
<Value Profile="(Default)">8000</Value>
</Setting>
<Setting Name="StartMonitor" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>