2
Answers

C# desktop app disable the close button

Photo of dc

dc

12y
2.6k
1
I am writing a C# 2010 desktop application. I would like to disable the close button on the windows form. I only want the user to exit the application by clicking the exit button on the application. Thus can you tell me how to disable the close button on the windows form application?

Answers (2)