How to check that a button is in a certain area, I have two buttons, and the user is a rectangle drawn with a mouse. How to check if a button is in the rectangle to take action if it is set correctly?
This image from my Winform when creating a rectangle contains my buttons, I want to find the buttons located in the rectangle area, do an action

mbugr source
share