[VB.NET]单击按钮右键事件

前端之家收集整理的这篇文章主要介绍了[VB.NET]单击按钮右键事件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
单击按钮右键事件 1.是哪个呢? 2.怎么知道点的是左键还是右键呢? __________________________________________________________________________ Private Sub Form1_MouseClick(ByVal sender As Object,ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick If e.Button = Windows.Forms.MouseButtons.Right Then MsgBox( "Right Click ") End If End Sub __________________________________________________________________________ 楼上说的正确! __________________________________________________________________________ 1楼正解... __________________________________________________________________________ 每次都被magicbacon抢沙发~~~~~~~~~`` __________________________________________________________________________ 寒一个…… -_-||| __________________________________________________________________________ 原文链接:https://www.f2er.com/vb/263732.html

猜你在找的VB相关文章