日期:2014-05-18 浏览次数:20969 次
private void toolStripMenuItem4_Click(object sender, EventArgs e) { ToolStripMenuItem item = sender as ToolStripMenuItem; if(item.Tag != null) { Console.WriteLine(item.Tag); } }
------解决方案--------------------
ItemClicked事件ItemClicked(object sender, ToolStripItemClickedEventArgs e)