A small bug in winform Design

Source: Internet
Author: User
Recently, I was playing a game, C # + DX9,
On the display of your home (15-inch LCD 1024 ** 768), you have made a 800*600 form. Everything can run normally,
However, with the company's display (17-inch flat screen 1024*768), the form will become larger, the width is almost the same as the display width, and the height will increase a lot,
(My current form style is this. formborderstyle = system. Windows. Forms. formborderstyle. None ;)
Open the project with Vs and find that the form size has changed,
At first, I reset the form size before the show () function, but it didn't work. Later I checked the information and found it in the form constructor. The underlying window has not been created yet, the operations on the form do not work. (This is not a bug I want to talk about, but a point of attention)

I manually go to the design interface and adjust the form size to 800*600. This is normal,

But after I adjusted it like this, I took it home and tested it on my own monitor. I found an exception. It turns out that the form is too small. When the form is displayed, it exceeded the form, that is, the form has changed again,

Later, I asked Microsoft engineers to know that this is a place where winform has not been fully designed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.