foreach (ToolStripMenuItem item in this.menuStrip1.Items)
{
item.Visible = true;
foreach (ToolStripItem itemtemp in item.DropDownItems)
{
itemtemp.Visible = true;
}
}
ToolStripMenuItem使用
最新推荐文章于 2024-06-12 20:20:11 发布