how to disable title bar of MDI child window (using C#)

new to visual studio/c#, but have great deal of experience with OOP, C++, et al.  the applicaiton i'm starting has a tool bar with no menu bar and is an MDI app. the problem i'm having is that when i open up an MDI child maximized, the title bar (above the parent toolbar) has the usual minimize, maximize, close icons on the right as well as the application icon on the left. i was wondering how to adjust the settings to remove this so that the parent toolbar is always flush with the top of the applciation.
LVL 3
dangereuxAsked:
Who is Participating?
 
Expert1701Connect With a Mentor Commented:
I suppose on your MDI child form, you could set FormBorderStyle = FormBorderStyle.None; is that the style you are looking for?
0
 
Meir RivkinConnect With a Mentor Full stack Software EngineerCommented:
in your visual studio designer u can play with those properties, check the screenshot.
u can completely remove the control box or just the minimize/maximize box.

Untitled.jpg
0
 
Meir RivkinFull stack Software EngineerCommented:
btw, the screenshot shows the MDI Main form but that goes the same thing with any child form u create.
0
All Courses

From novice to tech pro — start learning today.