Rename method

This commit is contained in:
Sergey Chebotar 2022-02-03 21:44:24 +03:00
parent 5001219695
commit 99d1fb6740
5 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ namespace RehauSku.PriceListTools
} }
} }
protected private void FillColumnsWithDictionary(KeyValuePair<Position, double> positionAmount, params int[] columns) protected private void FillPositionAmountToColumns(KeyValuePair<Position, double> positionAmount, params int[] columns)
{ {
int? row = GetPositionRow(positionAmount.Key.Sku, positionAmount.Key.Group, TargetFile.skuCell.Column); int? row = GetPositionRow(positionAmount.Key.Sku, positionAmount.Key.Group, TargetFile.skuCell.Column);

View File

@ -25,7 +25,7 @@ namespace RehauSku.PriceListTools
foreach (var kvp in source.PositionAmount) foreach (var kvp in source.PositionAmount)
{ {
FillColumnsWithDictionary(kvp, TargetFile.amountCell.Column - 1, TargetFile.amountCell.Column); FillPositionAmountToColumns(kvp, TargetFile.amountCell.Column - 1, TargetFile.amountCell.Column);
bar.DoProgress(); bar.DoProgress();
} }
} }

View File

@ -31,7 +31,7 @@ namespace RehauSku.PriceListTools
foreach (var kvp in Current.PositionAmount) foreach (var kvp in Current.PositionAmount)
{ {
FillColumnsWithDictionary(kvp, TargetFile.amountCell.Column); FillPositionAmountToColumns(kvp, TargetFile.amountCell.Column);
bar.DoProgress(); bar.DoProgress();
} }

View File

@ -28,7 +28,7 @@ namespace RehauSku.PriceListTools
foreach (var kvp in PositionAmount) foreach (var kvp in PositionAmount)
{ {
FillColumnsWithDictionary(kvp, TargetFile.amountCell.Column); FillPositionAmountToColumns(kvp, TargetFile.amountCell.Column);
bar.DoProgress(); bar.DoProgress();
} }

View File

@ -16,7 +16,7 @@ namespace RehauSku.PriceListTools
{ {
foreach (var kvp in source.PositionAmount) foreach (var kvp in source.PositionAmount)
{ {
FillColumnsWithDictionary(kvp, TargetFile.amountCell.Column); FillPositionAmountToColumns(kvp, TargetFile.amountCell.Column);
bar.DoProgress(); bar.DoProgress();
} }
} }