Refactoring

This commit is contained in:
Sergey Chebotar 2022-02-12 16:08:01 +03:00
parent 69865e96e3
commit 3224a8967e
2 changed files with 2 additions and 5 deletions

View File

@ -1,17 +1,15 @@
using ExcelDna.Integration; using Microsoft.Office.Interop.Excel;
using Microsoft.Office.Interop.Excel;
using RehauSku.Interface; using RehauSku.Interface;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Application = Microsoft.Office.Interop.Excel.Application;
using ProgressBar = RehauSku.Interface.ProgressBar; using ProgressBar = RehauSku.Interface.ProgressBar;
namespace RehauSku.PriceListTools namespace RehauSku.PriceListTools
{ {
internal abstract class AbstractTool internal abstract class AbstractTool
{ {
protected Application ExcelApp = (Application)ExcelDnaUtil.Application; protected Application ExcelApp = AddIn.Excel;
protected TargetPriceList TargetFile { get; set; } protected TargetPriceList TargetFile { get; set; }
protected ResultBar ResultBar { get; set; } protected ResultBar ResultBar { get; set; }
protected ProgressBar ProgressBar { get; set; } protected ProgressBar ProgressBar { get; set; }

View File

@ -1,5 +1,4 @@
using RehauSku.Interface; using RehauSku.Interface;
using System;
namespace RehauSku.PriceListTools namespace RehauSku.PriceListTools
{ {