0

Hi guyz, anyone here who know how to set your form in a full screen in any type of screen resolution.
Like for example im working here in my pc with a resolution of 1366x768 now if i want my application to run in another pc with another screen resolution i want to fit it with the size of that screen.

Thnx in advance

4
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by Denden17
1

form1.size = new Size(Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height)

I believe that's what you want. Hope it helps. :)

0

Just set the form's WindowState property to Maximized

Edited by Brian_O

0

anyways i want also the content of that form to be resize also like in a browser. The content will be resize when i press the maximize. thnx

0

Making the form independent of resolution is difficult. That is why MS has brought in WPF. You can try using Layouts in form design.. Let us know if you get any sollution :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.