aboutsummaryrefslogtreecommitdiff
path: root/Source/AddIn/AddIn.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2021-12-10 13:56:28 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2021-12-10 13:56:28 +0300
commitb7c65d64e98092049fddc1b482bfc7aa97759d60 (patch)
tree4d7712d05ee341b39b56fb5ce2cc24ecc8643717 /Source/AddIn/AddIn.cs
parent5a641d83d8e8ee9c977d3867f195447cd1164bef (diff)
Refactoring
Diffstat (limited to 'Source/AddIn/AddIn.cs')
-rw-r--r--Source/AddIn/AddIn.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/AddIn/AddIn.cs b/Source/AddIn/AddIn.cs
index 5255e2e..e29c070 100644
--- a/Source/AddIn/AddIn.cs
+++ b/Source/AddIn/AddIn.cs
@@ -17,8 +17,8 @@ namespace RehauSku
public class AddIn : IExcelAddIn
{
public static readonly HttpClient httpClient = new HttpClient();
- public static ResponseOrder responseOrder;
- public static string priceListPath;
+ public static ResponseOrder StoreResponse { get; set; }
+ public static string PriceListPath { get; set; }
public void AutoOpen()
{
@@ -46,8 +46,8 @@ namespace RehauSku
.OpenSubKey("REHAU")
.OpenSubKey("SkuAssist");
- responseOrder = (ResponseOrder)addInKeys.GetValue("ResponseOrder");
- priceListPath = (string)addInKeys.GetValue("PriceListPath");
+ StoreResponse = (ResponseOrder)addInKeys.GetValue("ResponseOrder");
+ PriceListPath = (string)addInKeys.GetValue("PriceListPath");
}
}
}