none
Controls moved on windows form from actual position to another position why RRS feed

  • Question

  • I work on windows form on visual studio 2017 c sharp

    the problem that controls as picture pox moved from his position when change resolutions

    or when i put on another computer resolution different from that i use

    resolution that i use every thing is good but when resolution changed every thing 

    corrupted and design display bad because controls not shown on actual places and sizes

    how to prevent controls from resizing when resolution changed please ?

     
    Tuesday, April 9, 2019 3:12 AM

All replies

  • Hi,

    Have you try to set the property "AutoScaleMode" of the form to "Dpi"? Just like this:

    Regards,

    Kyle


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, April 10, 2019 1:30 AM
    Moderator