From bcaab6e7112e6e5adb209e9dabc2ccd11cc732f1 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Wed, 27 Mar 2024 17:05:27 +0400 Subject: [PATCH] lab-4 some minor fixes --- .../OfficePackage/AbstractSaveToExcel.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToExcel.cs b/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToExcel.cs index f16f1d4..d08e6dc 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToExcel.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/OfficePackage/AbstractSaveToExcel.cs @@ -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 /// Добавляем новую ячейку в лист /// /// - protected abstract void InsertCellInWorksheet(ExcelCellParameters - excelParams); + protected abstract void InsertCellInWorksheet(ExcelCellParameters excelParams); /// /// Объединение ячеек ///