I mean an action occur just when i use both of button in one time,For example use mouse left button and right button together to occur something in Windows Form If it is possible,How can i Do that? Please Guide me.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jul 3, 2014, 6:19 AM
This object has a property called 'Button' which tells you which button was pressed.
Check out this SO thread for how you can use the MouseDown and MouseUp events to determine whether the left and right buttons were pressed simultaneously:
http://stackoverflow.com/questions/3209217/detect-both-left-and-right-mouse-click-at-the-same-time