C# menuStrip 配置
程序员文章站
2022-06-08 16:30:06
...
双击事件(隐藏功能)
private void menuStrip1_DoubleClick(object sender, EventArgs e)
{
if (toolStripMenuItem20.Visible == true)
{
toolStripMenuItem20.Visible = false;
return;
}
if (toolStripMenuItem20.Visible == false)
{
toolStripMenuItem20.Visible = true;
return;
}
}