© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
4 replies
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;
            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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ How do i get rid of this blue text
C#CC# / help
4mo ago
✅ How can I get rid of this annoying pointer thing in the first row, datagridview winforms
C#CC# / help
4y ago
✅ How do I get rid of this small annoying pointer in a datagridview winforms
C#CC# / help
4y ago
✅ How do I get rid of this 'folded' thing in vscode?
C#CC# / help
8mo ago