diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-02-12 16:08:01 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-02-12 16:08:01 +0300 |
commit | 3224a8967e4b2252f25d12dcaaa7d2c4acc87875 (patch) | |
tree | e73ff5365675024ba702887f3960b9bffee0381a /src | |
parent | 69865e96e3a1f128c9c25a32a445745aa8aa4fbf (diff) |
Refactoring
Diffstat (limited to 'src')
-rw-r--r-- | src/PriceListTools/AbstractTool.cs | 6 | ||||
-rw-r--r-- | src/PriceListTools/ConvertTool.cs | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/PriceListTools/AbstractTool.cs b/src/PriceListTools/AbstractTool.cs index af60d0d..c43d06c 100644 --- a/src/PriceListTools/AbstractTool.cs +++ b/src/PriceListTools/AbstractTool.cs @@ -1,17 +1,15 @@ -using ExcelDna.Integration; -using Microsoft.Office.Interop.Excel; +using Microsoft.Office.Interop.Excel; using RehauSku.Interface; using System; using System.Collections.Generic; using System.Linq; -using Application = Microsoft.Office.Interop.Excel.Application; using ProgressBar = RehauSku.Interface.ProgressBar; namespace RehauSku.PriceListTools { internal abstract class AbstractTool { - protected Application ExcelApp = (Application)ExcelDnaUtil.Application; + protected Application ExcelApp = AddIn.Excel; protected TargetPriceList TargetFile { get; set; } protected ResultBar ResultBar { get; set; } protected ProgressBar ProgressBar { get; set; } diff --git a/src/PriceListTools/ConvertTool.cs b/src/PriceListTools/ConvertTool.cs index fc5850f..abf7e39 100644 --- a/src/PriceListTools/ConvertTool.cs +++ b/src/PriceListTools/ConvertTool.cs @@ -1,5 +1,4 @@ using RehauSku.Interface; -using System; namespace RehauSku.PriceListTools { |