Лёвушкина Анна, ПИбд-21, лаб7 простая #14

Closed
AnnaLioness wants to merge 4 commits from лаб7 into лаб6
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 3eceaaf9b2 - Show all commits

View File

@ -219,7 +219,7 @@ namespace Lab1ContainersShip
{
MessageBox.Show($"Не загрузилось: {ex.Message}", "Результат",
MessageBoxButtons.OK, MessageBoxIcon.Error);
_logger.LogWarning($"Не удалось сохранить наборы с ошибкой: {ex.Message}");
_logger.LogWarning($"Не удалось загрузить наборы с ошибкой: {ex.Message}");
}
}
ReloadObjects();

View File

@ -61,6 +61,7 @@ namespace Lab1ContainersShip
return -1;
}
return collect?._collection.Insert(obj) ?? -1;
}
/// <summary>
/// Перегрузка оператора вычитания