aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-02-05 13:04:18 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-02-05 13:04:18 +0300
commit5a45c59b92c885cf20c5c69b1769273f3a124530 (patch)
tree1bb5943d8a2619eb379a4a0179398a48773ac7bd /src/PriceListTools
parent880b95f8625830e85b9eac816a4cd672d850297b (diff)
Remove Selection check
Diffstat (limited to 'src/PriceListTools')
-rw-r--r--src/PriceListTools/ExportTool.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/PriceListTools/ExportTool.cs b/src/PriceListTools/ExportTool.cs
index 82fd86a..f341671 100644
--- a/src/PriceListTools/ExportTool.cs
+++ b/src/PriceListTools/ExportTool.cs
@@ -10,14 +10,9 @@ namespace RehauSku.PriceListTools
private Dictionary<Position, double> PositionAmount;
private Range Selection;
- public void TryGetSelection()
+ public ExportTool()
{
Selection = ExcelApp.Selection;
-
- if (Selection == null || Selection.Columns.Count != 2)
- {
- throw new Exception("Неверный диапазон");
- }
}
public void FillTarget()