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


2007-06-29 09:02
if(e.Button == MouseButtons.Left)
{
contextMenu1.Show(Cursor.Position);
}
在MouseDown事件里写

2007-06-29 09:18
2007-06-29 10:18

2007-06-29 11:07
[此贴子已经被作者于2007-6-29 11:35:38编辑过]

2007-06-29 11:18
2007-06-29 11:53
2007-06-29 11:59