Sunday 15 September 2013

c# - How can i Remove Maximize,Minimize and Close icon in MDI Menustrip -


The IC is using the #Net Windows application. There are different modules in my project which will be used by MDI .. Now what is the problem, I can open a new look which means they will display the maximum, minimum and close icon in both MDI and Mensstrip. See below image ...

Enter image details here

How can I remove child form sign (maximum, minimum and close) from menu stream

thanks in advance ...

wins the area where those buttons are called control boxes if you do not want them to be displayed that you should set the ControlBox property of the form to false

  childForm.ControlBox = false;   

But as mentioned in the comments, you can use your forms as YouTubeTront just by setting your TopLevel property to false

  Form childForm = new form () ChildForm.TopLevel = false; ChildForm.Parent = MainForm; ChildForm.Show ()   

By doing this you can do the same end result as a MDI form

No comments:

Post a Comment