var s = sender as ToolStripMenuItem; var m = s.Owner as ContextMenuStrip; m.SourceControl.BackColor = cf.Color;