Refactor GQL code. Auto load and save active shops. Auto start monitors.
This commit is contained in:
18
BodyshopUploader/Properties/Resources.Designer.cs
generated
18
BodyshopUploader/Properties/Resources.Designer.cs
generated
@@ -114,6 +114,15 @@ namespace BodyshopUploader.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Auto-start Monitors.
|
||||
/// </summary>
|
||||
public static string Label_AutoStartMonitor {
|
||||
get {
|
||||
return ResourceManager.GetString("Label_AutoStartMonitor", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to File Path.
|
||||
/// </summary>
|
||||
@@ -168,6 +177,15 @@ namespace BodyshopUploader.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Error uploading job..
|
||||
/// </summary>
|
||||
public static string Msg_NewJobUploadError {
|
||||
get {
|
||||
return ResourceManager.GetString("Msg_NewJobUploadError", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Password.
|
||||
/// </summary>
|
||||
|
||||
@@ -135,6 +135,9 @@
|
||||
<data name="Label_AddMonitoringPath" xml:space="preserve">
|
||||
<value>Add Path</value>
|
||||
</data>
|
||||
<data name="Label_AutoStartMonitor" xml:space="preserve">
|
||||
<value>Auto-start Monitors</value>
|
||||
</data>
|
||||
<data name="Label_FilePath" xml:space="preserve">
|
||||
<value>File Path</value>
|
||||
</data>
|
||||
@@ -153,6 +156,9 @@
|
||||
<data name="Msg_NewJobUploaded" xml:space="preserve">
|
||||
<value>New Job Uploaded</value>
|
||||
</data>
|
||||
<data name="Msg_NewJobUploadError" xml:space="preserve">
|
||||
<value>Error uploading job.</value>
|
||||
</data>
|
||||
<data name="Password" xml:space="preserve">
|
||||
<value>Password</value>
|
||||
</data>
|
||||
|
||||
24
BodyshopUploader/Properties/Settings.Designer.cs
generated
24
BodyshopUploader/Properties/Settings.Designer.cs
generated
@@ -68,5 +68,29 @@ namespace BodyshopUploader.Properties {
|
||||
this["AutoStartMonitors"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string LastSelectedShop {
|
||||
get {
|
||||
return ((string)(this["LastSelectedShop"]));
|
||||
}
|
||||
set {
|
||||
this["LastSelectedShop"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool AutoStartMonitor {
|
||||
get {
|
||||
return ((bool)(this["AutoStartMonitor"]));
|
||||
}
|
||||
set {
|
||||
this["AutoStartMonitor"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,5 +14,11 @@
|
||||
<Setting Name="AutoStartMonitors" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="LastSelectedShop" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="AutoStartMonitor" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Reference in New Issue
Block a user