Added start on windows startup feature IO-404

This commit is contained in:
Patrick Fic
2021-01-18 11:49:55 -08:00
parent 34a5ae2292
commit 1b4e5fb3f0
9 changed files with 72 additions and 2 deletions

View File

@@ -240,6 +240,15 @@ namespace BodyshopPartner.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Start with Windows.
/// </summary>
public static string Label_StartWithWindows {
get {
return ResourceManager.GetString("Label_StartWithWindows", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Status.
/// </summary>

View File

@@ -177,6 +177,9 @@
<data name="Label_StartAllMonitors" xml:space="preserve">
<value>Start _All Monitors</value>
</data>
<data name="Label_StartWithWindows" xml:space="preserve">
<value>Start with Windows</value>
</data>
<data name="Label_Status" xml:space="preserve">
<value>Status</value>
</data>

View File

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

View File

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