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