diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-01-28 09:16:10 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-01-28 09:16:10 +0300 |
commit | dca27ebcc3a8377bfe6f4f56481d321b615c4c24 (patch) | |
tree | 6befd8ef5a8b0265324d99ff5819fb950b098581 /src/PriceListTools/PriceListTool.cs | |
parent | 35930ebda47f6f68ad549f8ad67b38c0b9a7f60b (diff) |
Move ConvertTool to another file
Diffstat (limited to 'src/PriceListTools/PriceListTool.cs')
-rw-r--r-- | src/PriceListTools/PriceListTool.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/PriceListTools/PriceListTool.cs b/src/PriceListTools/PriceListTool.cs index c8df005..9685c83 100644 --- a/src/PriceListTools/PriceListTool.cs +++ b/src/PriceListTools/PriceListTool.cs @@ -2,31 +2,9 @@ using Microsoft.Office.Interop.Excel; using System; using System.Collections.Generic; -using System.Linq; namespace RehauSku.PriceListTools { - internal class ConvertTool : PriceListTool - { - private Source Current; - - public void GetCurrent() - { - Current = new Source(ExcelApp.ActiveWorkbook); - } - - public void FillTarget() - { - ExcelApp.ScreenUpdating = false; - FillColumn(Current.SkuAmount, TargetFile.amountCell.Column); - FilterByAmount(); - ExcelApp.ScreenUpdating = true; - - Forms.Dialog.SaveWorkbookAs(); - } - } - - internal abstract class PriceListTool { protected private Application ExcelApp = (Application)ExcelDnaUtil.Application; |