diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-23 15:31:23 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-23 15:31:23 +0300 |
commit | 0513ac5ad7c7de498b794c27728c2c8ff306f941 (patch) | |
tree | 2b55e7a387a8ab18371d008f6c23308caaa41d4f /Source/AddIn | |
parent | ce5597d042062c820288c63b4e571ee77ac23ab0 (diff) |
Rename to ExportTool
Diffstat (limited to 'Source/AddIn')
-rw-r--r-- | Source/AddIn/AddIn.cs | 1 | ||||
-rw-r--r-- | Source/AddIn/RegistryUtil.cs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/AddIn/AddIn.cs b/Source/AddIn/AddIn.cs index 08b6dcf..014b607 100644 --- a/Source/AddIn/AddIn.cs +++ b/Source/AddIn/AddIn.cs @@ -28,6 +28,7 @@ namespace RehauSku public void AutoClose() { IntelliSenseServer.Uninstall(); + RegistryUtil.Uninitialize(); } void RegisterFunctions() diff --git a/Source/AddIn/RegistryUtil.cs b/Source/AddIn/RegistryUtil.cs index 19f48b8..ef1398e 100644 --- a/Source/AddIn/RegistryUtil.cs +++ b/Source/AddIn/RegistryUtil.cs @@ -16,6 +16,11 @@ namespace RehauSku _storeResponseOrder = _RootKey.GetValue("StoreResponseOrder") as int?; } + public static void Uninitialize() + { + _RootKey.Close(); + } + public static bool IsPriceListPathEmpty() { return string.IsNullOrEmpty(_priceListPath); |