假设你窗体上有一个contextMenuStrip1菜单
private void Form1_MouseDown(object sender, MouseEventArgs e) { //按鼠标右键,弹出菜单 if (e.Button == System.Windows.Forms.MouseButtons.Right) { contextMenuStrip1.Show(PointToScreen(e.Location)); }}
右键是菜单啊,你要什么做什么?明确下!