how do I adapt the my application area to the user's monitor resolution?
how do I adapt the my application area to the user's monitor resolution?
I have created a winForms application on 1280*768 resolution monitor and the application is generally used on smaller laptops (10inches). Now I need to a scrollbar on my开发者_C百科 entire application so that the spacing remains the same as I have designed. For this, there has to be a scrollbar (Both Horizontal and Vertical) on the application.
How do I achieve that?
Set the form's AutoScroll to True, and set the AutoScrollMinSize to the area you want. If the form is smaller than the given area, scrollbars will appear. When you move them the controls will move automatically.
精彩评论