Cannot add vlan rows if locked

This commit is contained in:
Tim Young 2016-10-31 11:59:05 -05:00
parent a82db7ecb2
commit 36bc2adc8e

View File

@ -59,6 +59,8 @@ namespace EduNetworkBuilder
{
dgv_VLANNames.Columns[2].ReadOnly = LockedNames;
}
if (LockedNames)
dgv_VLANNames.AllowUserToAddRows = false;
}
}