怎么判断MouseClick 是左键还是右键呢

如何判断MouseClick 是左键还是右键呢,在线等
如果鼠标点击了一下窗口,如何获知是左键还是右键点击的呢??

------解决方案--------------------
Private Sub Button4_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Button4.MouseClick
if e.Button = Windows.Forms.MouseButtons.Left Then

End If
End Sub

MouseClick事件的e,可以判断
------解决方案--------------------
Private Sub Button4_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Button4.MouseClick
if e.Button = Windows.Forms.MouseButtons.Left then
msgbox "左键 "
end if
End Sub

MouseClick事件的e.button属性