ToolStripMenuItem del = new ToolStripMenuItem(); del.Text = "删除"; del.Click += new EventHandler(del_Click); private void del_Click(object sender, EventArgs e) { // }