diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-01-27 10:22:30 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-01-27 10:22:30 +0300 |
commit | 72ac236b15603e84f18ec346749186b6cb2c2bdf (patch) | |
tree | bf47c7f4e92e1008fe1b4a34851b642d15ee0c98 /src/Ribbon | |
parent | 8e3dff1788905c203509f866921957b027cb2643 (diff) |
Refactoring tolls classes
Diffstat (limited to 'src/Ribbon')
-rw-r--r-- | src/Ribbon/RibbonController.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Ribbon/RibbonController.cs b/src/Ribbon/RibbonController.cs index ed59541..d17426b 100644 --- a/src/Ribbon/RibbonController.cs +++ b/src/Ribbon/RibbonController.cs @@ -42,10 +42,10 @@ namespace RehauSku.Ribbon string[] files = Dialog.GetMultiplyFiles(); if (files.Length != 0) { - mergeTool.GetSource(files); + mergeTool.GetSourceLists(files); string exportFile = RegistryUtil.PriceListPath; mergeTool.OpenNewPrice(exportFile); - mergeTool.FillPriceList(); + mergeTool.FillTarget(); } } } @@ -57,10 +57,10 @@ namespace RehauSku.Ribbon string[] files = Dialog.GetMultiplyFiles(); if (files.Length != 0) { - combineTool.GetSource(files); + combineTool.GetSourceLists(files); string exportFile = RegistryUtil.PriceListPath; combineTool.OpenNewPrice(exportFile); - combineTool.FillPriceList(); + combineTool.FillTarget(); } } } @@ -74,7 +74,7 @@ namespace RehauSku.Ribbon exportTool.GetSource(); string exportFile = RegistryUtil.PriceListPath; exportTool.OpenNewPrice(exportFile); - exportTool.FillPriceList(); + exportTool.FillTarget(); } } catch (Exception ex) |