Reputation: 908
The image describes what I am trying to do.
I have a "connect four" game which works perfectly well but I want to remove the default buttons provided at the top right hand corner of the window. Any quick help on this?
Upvotes: 3
Views: 18941
Reputation: 4504
Click here to view steps in video
Please Set ControlBox Value as "False" of your desire form.
Upvotes: 10
Reputation: 65077
The ControlBox
property of Forms does this after hiding the Minimize and Maximize buttons.
MSDN - Form.ControlBox Property
Upvotes: 7
Reputation: 2859
In the properties window for your form designer, there should be a listing for MaximizeBox and MinimizeBox that you can set to false to disable the maximize and minimize buttons on the form. AFAIK there is no way to disable the close button.
Upvotes: 0