在C#里按鼠标左键弹出上下文菜单,该如何做?4
if(e.Button == MouseButtons.Left) contextMenu1.Show();
但是contextMenu1.show()提示需要输入参数,我不知道参数怎么写,请帮忙,谢谢!
2007-06-28 16:44
2007-06-29 08:07
2007-06-29 11:53

2007-06-29 12:04
我试过if(e.Button == MouseButtons.Left)
{
contextMenu1.Show(Cursor.Position);
}了,提示未获得方法参数1

2007-06-29 12:08
2007-06-29 13:36

2007-06-29 16:17

2007-06-29 17:00

2007-06-29 17:18
2007-06-29 17:23