The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: How do I disable the Close 'X' button in a Windows Form using C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Albin LarssonPosted Sep 8, 2012, 3:21 PM
Just was I was looking for!
Deepak BhatiaeditedPosted Aug 6, 2010, 6:20 AMEdited Aug 6, 2010, 6:20 AM
Really earlier I was looking for a certain application to get this functionality but was not able to find solutions. Great help.
Chinmay DurgeshPosted Feb 26, 2010, 8:35 AM
Hey, Thanks for the article. There is another very simpler way. All you need to do is, set the "ControlBox" property to false. Hope this helps.
chattolearnPosted Jan 23, 2010, 7:37 AM
hi. check here for another solution which I think easier. the solution you mentioned is also nice. http://www.php24hours.com/c-sharp-how-to-disable-the-close-button-t164.html good luck
swarnalaxmi sbeditedPosted Jan 4, 2010, 2:18 AMEdited Jan 4, 2010, 2:20 AM
Thank you very much. This article is helpful to me