0
我想啓用= false來的MenuStrip ..但代碼中的代碼執行,但不能禁用菜單禁用工具條菜單
MenuStrip ms = (MenuStrip)frm_MDI.objMdi.Controls["msMainMenu"];
foreach (ToolStripMenuItem tmm in ms.Items)
{
tmm.Enabled = false;
}