From dca27ebcc3a8377bfe6f4f56481d321b615c4c24 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 28 Jan 2022 09:16:10 +0300 Subject: Move ConvertTool to another file --- src/PriceListTools/PriceListTool.cs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/PriceListTools/PriceListTool.cs') 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; -- cgit v1.2.3