Cannot add vlan rows if locked
This commit is contained in:
1 parent
a82db7ecb2
commit
36bc2adc8e
1 file changed
+2
@@ -59,6 +59,8 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
dgv_VLANNames.Columns[2].ReadOnly = LockedNames;
|
||||
}
|
||||
if (LockedNames)
|
||||
dgv_VLANNames.AllowUserToAddRows = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user