2
Answers

How to handle screen resolution problem while designing windows forms using C#

Photo of Naeem Khan

Naeem Khan

14y
16.5k
1
Hello friends,

 I would like to know how we can design a
windows application which would automatically change the form size,
controls size, position etc., as and when the screen resolution is
changed. Reason being, I have designed an windows application using C#

on 1024x728 resolution, and when I installed on my testing machine
which is 1280x1024, the screen has become small, and my testing team
has placed this as an issue. I had tried in various ways, but not able

to get a proper solution. So, I would like to have some one give me a
best solution which can solve this problem. and it should be automatically changed...

Answers (2)

0
Photo of srinivas thummalapalli
NA 41 1.2k 11y
By using anchor and Dock properties we can overcome resolution problems...For more details follow this ink .. http://www.techrepublic.com/article/manage-winform-controls-using-the-anchor-and-dock-properties/
0
Photo of krishna prasad
NA 814 184.5k 14y
Hai....

I guess changing the resolution would not be a problem as the screen size and control would appear the same in both different resolutions...
It would be problem with different O.S..U would have developed in a different OS and ur test machine would have different OS....

I am not very sure abt this,,,Just an idea....

Hope it helps....

With Regards
P.Krishna Prasad