aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools
diff options
context:
space:
mode:
Diffstat (limited to 'src/PriceListTools')
-rw-r--r--src/PriceListTools/AbstractPriceListTool.cs5
-rw-r--r--src/PriceListTools/ExportTool.cs3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/PriceListTools/AbstractPriceListTool.cs b/src/PriceListTools/AbstractPriceListTool.cs
index 04d11af..1aef0be 100644
--- a/src/PriceListTools/AbstractPriceListTool.cs
+++ b/src/PriceListTools/AbstractPriceListTool.cs
@@ -39,6 +39,11 @@ namespace RehauSku.PriceListTools
}
}
+ public virtual void GetSource()
+ {
+ throw new NotImplementedException();
+ }
+
public virtual void GetSource(string[] files)
{
ExcelApp.ScreenUpdating = false;
diff --git a/src/PriceListTools/ExportTool.cs b/src/PriceListTools/ExportTool.cs
index fbafbdd..9a2c5fd 100644
--- a/src/PriceListTools/ExportTool.cs
+++ b/src/PriceListTools/ExportTool.cs
@@ -17,10 +17,11 @@ namespace RehauSku.PriceListTools
Selection = ExcelApp.Selection;
}
- public override void GetSource(string[] files)
+ public override void GetSource()
{
if (Selection != null && Selection.Columns.Count == 2)
FillSkuAmountDict();
+
else throw new Exception("Неверный диапазон");
}