Tacit
Tacit

Reputation: 908

how to remove the default control buttons from a windows form

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?

enter image description here

Upvotes: 3

Views: 18941

Answers (3)

sms247
sms247

Reputation: 4504

Click here to view steps in video

Please Set ControlBox Value as "False" of your desire form.
enter image description here

Upvotes: 10

Simon Whitehead
Simon Whitehead

Reputation: 65077

The ControlBox property of Forms does this after hiding the Minimize and Maximize buttons.

MSDN - Form.ControlBox Property

Upvotes: 7

Zack
Zack

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

Related Questions