Forum Discussion
Windows form app incomplete Full screen
Your form is already filling the screen; the remaining ToolStrip is a child-control visibility issue. TopMost only changes the form’s position relative to other windows, and removing the border does not hide controls inside it. MainToolStrip.Visible = false is the appropriate property for hiding that ToolStrip, provided it is the instance actually displayed. Put a breakpoint on that statement and inspect MainToolStrip.Name, Parent and Visible after it executes. Ensure the statement runs after InitializeComponent, rather than being overwritten by designer initialization. As a diagnostic, apply it from the form’s Shown handler, when the form is first displayed, and check whether later application code makes the control visible again. If the named control is hidden but a bar remains, identify that visible control in the debugger instead of changing the window state further. A minimal example showing where this code runs would distinguish those cases.