I have a windows form which client needs to appear full screen in any resolution(Needs to looks like a web page).But the problem is to make the form width to 100%.
Any suggestions?
If you only want to set the width to 100%:
this.Width = Screen.PrimaryScreen.Bounds.Width;
If you want set both width and height:
this.WindowState = FormWindowState.Maximized;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With