Сдал
This commit is contained in:
parent
e2baa8c848
commit
f47c1cda0b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user