From 271840c48e47c8c02fc6de08a6b1668fd9238182 Mon Sep 17 00:00:00 2001 From: Nikita Potapov <47923521+nikita-potapov@users.noreply.github.com> Date: Sat, 26 Nov 2022 23:04:33 +0400 Subject: [PATCH] ButtonDeleteMap_Click logging --- Boats/Boats/FormMapWithSetBoats.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Boats/Boats/FormMapWithSetBoats.cs b/Boats/Boats/FormMapWithSetBoats.cs index 805dbed..27b40ca 100644 --- a/Boats/Boats/FormMapWithSetBoats.cs +++ b/Boats/Boats/FormMapWithSetBoats.cs @@ -147,7 +147,6 @@ namespace Boats { MessageBox.Show($"Неизвестная ошибка: {ex.Message}"); } - } /// /// Вывод набора @@ -243,6 +242,7 @@ namespace Boats MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { _mapsCollection.DelMap(listBoxMaps.SelectedItem?.ToString() ?? string.Empty); + _logger.LogInformation($"Удалена карта {listBoxMaps.SelectedItem?.ToString() ?? ""}"); ReloadMaps(); } }