//1.工具档按钮被单击 void ToolStripButton1Click(object sender, System.EventArgs e) { MessageBox.Show(((ToolStripItem)sender).Text);//工具栏按钮被单击 } //2.ItemClick事件统一处理 void ToolStrip1ItemClicked(object sender, System.Windows.Forms.ToolStripItemClickedEventArgs e) { MessageBox.Show(((ToolStripItem)e.ClickedItem).Text); }