for (int i = 0; i <= MenuStrip1.Items.Count - 1; i++) { if ("admin" == MenuStrip1.Items(i).Tag) { MenuStrip1.Items(i).Enabled = false; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)