private void button1_Click(object sender, EventArgs e) { //dosomething } private void 文件ToolStripMenuItem_Click(object sender, EventArgs e) { button1_Click(sender, e); }