110,536
社区成员
发帖
与我相关
我的任务
分享
foreach (ToolStripItem c in toolStrip1.Items)
{
if (c is ToolStripButton) //button
{
}
else if (c is ToolStripLabel) //label
{
}
...//其他
}