From d7fdaccf6d65c07e287b06628fe5733a0d14c0e6 Mon Sep 17 00:00:00 2001 From: maxnes3 <112558334+maxnes3@users.noreply.github.com> Date: Thu, 2 Nov 2023 09:51:51 +0400 Subject: [PATCH] =?UTF-8?q?=D1=89=D0=B0=D1=81=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D1=8E=20=D0=B4=D0=B0=D1=82=D1=83=20=D0=90=D1=80?= =?UTF-8?q?=D1=82=D1=91=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WinForm/AppView/FormMain.cs | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/WinForm/AppView/FormMain.cs b/WinForm/AppView/FormMain.cs index d171f3a..3d95b30 100644 --- a/WinForm/AppView/FormMain.cs +++ b/WinForm/AppView/FormMain.cs @@ -201,40 +201,15 @@ namespace AppView new ColumnConfig { Width = 70f, PropertyName = "SupplyDateTime" }, }; - /*ComponentDocumentWithTableHeaderDataConfig config = new() - { - Data = providersList, - Headers = new() - { - (0, 0, "Идентификатор", "Id"), - (1, 0, "Название", "Name"), - (2, 0, "Тип организации", "Type"), - (3, 0, "Дата поставки", "SupplyDateTime"), - }, - Header = "Отчет по всем поставщикам", - UseUnion = false, - ColumnsRowsWidth = new() - { - (10,10), - (10,10), - (10,10), - (10,10), - }, - ColumnsRowsDataCount = new() - };*/ - SaveFileDialog saveFileDialog = new() { Filter = "Excel Files|*.xlsx" }; if (saveFileDialog.ShowDialog() == DialogResult.OK) { - //config.FilePath = saveFileDialog.FileName; - try { componentWithSettings.GenerateExcelDocument(saveFileDialog.FileName, "Отчет по всем поставщикам", columnConfigs, 25f, 35f, providersList); - //componentDocumentWithTableMultiHeaderExcel.CreateDoc(config); MessageBox.Show( "Excel-документ успешно сохранен.", "Успех",