Rename method
This commit is contained in:
parent
5001219695
commit
99d1fb6740
@ -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);
|
||||||
|
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user