aboutsummaryrefslogtreecommitdiff
path: root/src/AddIn/RegistryUtil.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-07-04 09:21:44 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-07-04 09:21:44 +0300
commit10e6a108f974b3e2541ec322f99e60ec5ab7d9f7 (patch)
tree271734932a59956e62d138e755c51d44d711ec8e /src/AddIn/RegistryUtil.cs
parent8155dcce3755687b641c06dc9229b7183553fba8 (diff)
Remove Response Order setting
Diffstat (limited to 'src/AddIn/RegistryUtil.cs')
-rw-r--r--src/AddIn/RegistryUtil.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/AddIn/RegistryUtil.cs b/src/AddIn/RegistryUtil.cs
index a13e941..54e071e 100644
--- a/src/AddIn/RegistryUtil.cs
+++ b/src/AddIn/RegistryUtil.cs
@@ -9,14 +9,12 @@ namespace RehauSku
static class RegistryUtil
{
private static string priceListPath;
- private static int? storeResponseOrder;
private static RegistryKey RootKey { get; set; }
public static void Initialize()
{
RootKey = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\REHAU\SkuAssist");
priceListPath = RootKey.GetValue("PriceListPath") as string;
- storeResponseOrder = RootKey.GetValue("StoreResponseOrder") as int?;
}
public static void Uninitialize()
@@ -71,23 +69,5 @@ namespace RehauSku
{
return Path.GetFileName(priceListPath);
}
-
- public static ResponseOrder StoreResponseOrder
- {
- get
- {
- if (storeResponseOrder == null)
- {
- RootKey.SetValue("StoreResponseOrder", (int)ResponseOrder.Default);
- storeResponseOrder = (int)ResponseOrder.Default;
- return (ResponseOrder)storeResponseOrder.Value;
- }
-
- else
- {
- return (ResponseOrder)storeResponseOrder.Value;
- }
- }
- }
}
}