private void toolStripMenuItem_Click(object sender, EventArgs e) { ToolStripMenuItem tsi = (ToolStripMenuItem)sender;//转换类型 ContextMenuStrip strip = tsi.GetCurrentParent() as ContextMenuStrip;//检索作为当前ToolStripItem的容器 Control c = strip.SourceControl;//获取使ContextMenuStrip此被显示的控件 string a = c.Name;//关联控件的引用名称 c.BackColor = Color.Red; }