Auto start support

This commit is contained in:
2014-05-03 09:51:46 -04:00
parent 35b8971f10
commit 89b4ef0c6a
4 changed files with 30 additions and 1 deletions

View File

@@ -58,5 +58,17 @@ namespace ProcessCpuUsageStatusWindow.Properties {
this["WindowSettings"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool AutoStart {
get {
return ((bool)(this["AutoStart"]));
}
set {
this["AutoStart"] = value;
}
}
}
}

View File

@@ -11,5 +11,8 @@
<Setting Name="WindowSettings" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="AutoStart" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>