C#C
C#3y ago
Sanne

❔ how can i get rid of this border (winform)

i tried to make it fill up my whole screen using this:

            this.TopMost = true;
            this.FormBorderStyle = FormBorderStyle.None;
            this.WindowState = FormWindowState.Maximized;


now, there's some kind of white border around it. does anyone know how i can get rid of it?
image.png
Was this page helpful?