Click here to Skip to main content
15,893,161 members
Articles / Programming Languages / C#

How to Complete remove the Exit button from the title bar in windows form in C#

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
2 Nov 2012CPOL 0  
You can refer below links- "Disabling Close Button on Forms[^]C# Close Button Disable Example[^]

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
2 Nov 2012Zain -Ul- Arifeen 4 alternatives  
How to Complete remove the Exit button from the title bar in windows form in C#Any Suggestion
Please Sign up or sign in to vote.
2 Nov 2012_Amy
Setting FormBorderStyle = "none" will remove the title bar (at both design and run time) - and also remove your ability to resize the form.If you need a border you can set:ControlBox = "false";Text = "";And if you want to disable the close button then try this:Disable An...
Please Sign up or sign in to vote.
2 Nov 2012Sushil Mate
http://msdn.microsoft.com/en-u...
Please Sign up or sign in to vote.
7 Jul 2013Sergey Alexandrovich Kryukov
There is no such button on a title bar. There is nothing to remove. —SA

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions