aboutsummaryrefslogtreecommitdiff
path: root/Source/DataExport/Exporter.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2021-12-22 08:26:54 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2021-12-22 08:26:54 +0300
commitf97d344f39c46b5e2f883765e8859e78007a11b0 (patch)
tree48bbacaaff6f776a42201bbea02828151e565544 /Source/DataExport/Exporter.cs
parentaaaa6b45859e74c791f35e18c220118a54a345ad (diff)
Add Registry Util
Diffstat (limited to 'Source/DataExport/Exporter.cs')
-rw-r--r--Source/DataExport/Exporter.cs4
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;
}