0

I have drawn rectangle using the screen resolution say (1152x 864). When i change the resolution to (1024x768) the position and height of the drawn rectangle varies.

How to set the rectangle value with different screen resolution...

Thanks in advance.

Nivas
  • 295
  • 5
  • 11
  • possible duplicate of [c# Image resizing to different size while preserving aspect ratio](http://stackoverflow.com/questions/1940581/c-image-resizing-to-different-size-while-preserving-aspect-ratio) – Michael Todd Aug 03 '10 at 04:36

1 Answers1

1

You can use TableLayoutPanel and put all the necessary rows and columns in %. So when the screen resolution changes it will handle accordingly.

anishMarokey
  • 11,279
  • 2
  • 34
  • 47