From 070733036b67e1b11132503d68a5e5d361cacc18 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 14 Feb 2022 11:06:40 +0300 Subject: getLabel implemetation for pricelist button --- src/AddIn/RegistryUtil.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/AddIn/RegistryUtil.cs') diff --git a/src/AddIn/RegistryUtil.cs b/src/AddIn/RegistryUtil.cs index 5fe2eea..a13e941 100644 --- a/src/AddIn/RegistryUtil.cs +++ b/src/AddIn/RegistryUtil.cs @@ -63,9 +63,15 @@ namespace RehauSku { priceListPath = value; RootKey.SetValue("PriceListPath", value); + RibbonController.RefreshControl("setPriceList"); } } + public static string GetPriceListName() + { + return Path.GetFileName(priceListPath); + } + public static ResponseOrder StoreResponseOrder { get -- cgit v1.2.3