Possible Duplicate:
Vertically (only) resizable windows form in C#
I have a case where I need to allow the user to resize the form just horizontally. The maximum width of the form is x. How can I do that?
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.
Set your MaximumSize and MinimumSize to the same Height, but variable widths.
To make it so the resize cursor doesn’t appear on the top or bottom:
Code copied and modified from: Vertically (only) resizable windows form in C#