ISEbd-21 Melnikov I. O. Lab Work 04 Advanced #28

Closed
Igor-Melnikov wants to merge 19 commits from lab4adv into lab3adv
Showing only changes of commit 9a98b79594 - Show all commits

View File

@ -54,25 +54,6 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage
JustificationType = WordJustificationType.Center
}
});
//foreach (var store in info.Stores)
//{
// CreateParagraph(new WordParagraph
// {
// Texts = new List<(string, WordTextProperties)>
// {
// (store.StoreName, new WordTextProperties { Bold = true, Size = "24", }),
// (" ", new WordTextProperties { Size = "24"}),
// (store.Address, new WordTextProperties { Size = "24" }),
// (" ", new WordTextProperties { Size = "24"}),
// (store.OpeningDate.ToShortDateString(), new WordTextProperties { Size = "24" })
// },
// TextProperties = new WordTextProperties
// {
// Size = "24",
// JustificationType = WordJustificationType.Both
// }
// });
//}
CreateTable(new()
{
("Название", 3000),
@ -83,7 +64,7 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage
.Select(x => new List<string>
{
x.StoreName,
Convert.ToString(x.OpeningDate.ToShortDateString),
Convert.ToString(x.OpeningDate),
x.Address,
})
.ToList());