How does one find the coordinates halfway on the X and Y axis in a user control or form?
How can I identify the range of the X-axis and the Range of the Y axis on a user control or form?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are probably looking for the ClientRectangle property.
To find the range: do you mean the range on screen? if so, use the
RectangleToScreenfunction.To find the middle point, you can use