以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [疑问]代码为何没反应? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=29008) |
-- 作者:don -- 发布时间:2013/2/25 18:03:00 -- [疑问]代码为何没反应? 1.窗口标签Label1设Click代码: If MouseButton = MouseButtons.Right Then MessageBox.show("你按下了鼠标右键") End If 2.右键Label1为何没反应??? 以前有时行,有时不行,无奈下设成DoubleClick事件 |
-- 作者:狐狸爸爸 -- 发布时间:2013/2/25 18:23:00 -- MouseDown事件:
If e.Button = MouseButtons.Right Then |
-- 作者:don -- 发布时间:2013/2/25 18:36:00 -- 以下是引用狐狸爸爸在2013-2-25 18:23:00的发言:
MouseDown事件:
If e.Button = MouseButtons.Right Then 果然!多谢啦~~~ |