diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-22 08:26:54 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-22 08:26:54 +0300 |
commit | f97d344f39c46b5e2f883765e8859e78007a11b0 (patch) | |
tree | 48bbacaaff6f776a42201bbea02828151e565544 /Source/DataExport/Exporter.cs | |
parent | aaaa6b45859e74c791f35e18c220118a54a345ad (diff) |
Add Registry Util
Diffstat (limited to 'Source/DataExport/Exporter.cs')
-rw-r--r-- | Source/DataExport/Exporter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/DataExport/Exporter.cs b/Source/DataExport/Exporter.cs index 40a1d5d..483dd0e 100644 --- a/Source/DataExport/Exporter.cs +++ b/Source/DataExport/Exporter.cs @@ -76,7 +76,7 @@ namespace RehauSku.DataExport public void FillPriceList() { string exportFile = _GetExportFullPath(); - File.Copy(AddIn.PriceListPath, exportFile, true); + File.Copy(RegistryUtil.PriceListPath, exportFile, true); Workbook wb = xlApp.Workbooks.Open(exportFile); Worksheet ws = wb.ActiveSheet; @@ -94,7 +94,7 @@ namespace RehauSku.DataExport private string _GetExportFullPath() { - string fileExtension = Path.GetExtension(AddIn.PriceListPath); + string fileExtension = Path.GetExtension(RegistryUtil.PriceListPath); return Path.GetTempFileName() + fileExtension; } |