Refactor GQL code. Auto load and save active shops. Auto start monitors.

This commit is contained in:
Patrick Fic
2020-01-20 15:42:59 -08:00
parent bc5cb13113
commit fa75c58633
11 changed files with 166 additions and 68 deletions

View File

@@ -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;
}
}
}
}