lab-4 some minor fixes

This commit is contained in:
Zakharov_Rostislav 2024-03-27 17:05:27 +04:00
parent 863ad4a50d
commit bcaab6e711

View File

@ -47,16 +47,14 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage
ColumnName = "B",
RowIndex = rowIndex,
Text = component.Item1,
StyleInfo =
ExcelStyleInfoType.TextWithBroder
StyleInfo = ExcelStyleInfoType.TextWithBroder
});
InsertCellInWorksheet(new ExcelCellParameters
{
ColumnName = "C",
RowIndex = rowIndex,
Text = component.Item2.ToString(),
StyleInfo =
ExcelStyleInfoType.TextWithBroder
StyleInfo = ExcelStyleInfoType.TextWithBroder
});
rowIndex++;
}
@ -87,8 +85,7 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage
/// Добавляем новую ячейку в лист
/// </summary>
/// <param name="cellParameters"></param>
protected abstract void InsertCellInWorksheet(ExcelCellParameters
excelParams);
protected abstract void InsertCellInWorksheet(ExcelCellParameters excelParams);
/// <summary>
/// Объединение ячеек
/// </summary>