This commit is contained in:
Tonb73 2024-11-25 08:44:39 +03:00
parent e2baa8c848
commit f47c1cda0b

View File

@ -98,6 +98,7 @@ namespace ProjectTourAgency.Forms
private bool TryGetIdentifierFromSelectedRow(out int id)
{
id = 0;
if(dataGridViewData.SelectedRows.Count < 1)
{
MessageBox.Show("Нет выбранной записи", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);