From b7c65d64e98092049fddc1b482bfc7aa97759d60 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 10 Dec 2021 13:56:28 +0300 Subject: Refactoring --- Source/AddIn/AddIn.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/AddIn') 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"); } } } -- cgit v1.2.3