This is an archived thread from the StopByte developer forum — browse all archived threads. StopByte is now a payments & ecommerce toolkit — check out our free calculators.

Stopbyte

How to open a window in full screen regardless Desktop resolution in C# & WinForms?

Hello everyone,

I make a program on C#. I create a form but I don’t understand how to make it open in full screen regardless of PC or screen resolution (800,1024,1280,1600 … etc ) ?

1 Like

You can do that simply by following these steps:

  1. Make your Window Borderless.
  2. Make your window TopMost.
  3. And finally Make your Window Start Maximized, or make it Miximized always.

Remember, Making TopMost helps only overriding the taskbar and other Top Most Windows. you can avoid it if you wish to keep the Taskbar Visible.