iam using C#.Net Windows Application.In my project have different module that will be used by MDI..
now what the problem is,i can open a new form mean they will display maximize,minimize and Close icon in both MDI and Menustrip.See Below Image...
How can i remove child forms icons(Maximize,Minimize and Close) from MenuStrip
Thanks in Advance...
Patrick :
In winforms the area where those buttons are is called ControlBox if you do not want them to be displayed you should set the ControlBox property of the form to false\n\nchildForm.ControlBox = false;\n\n\nBut as pointed out in the comments you could use your forms as UserControls by just setting its TopLevel property to false\n\nForm childForm = new Form()\nchildForm.TopLevel = false;\nchildForm.Parent = MainForm;\nchildForm.Show()\n\n\nDoing that you can acomplish the same final result as an MDI form",
2014-12-02T22:21:58