winforms - How to disable minimize and maximize buttons of windows form c# -


this question has answer here:

screenshot

i want disable minimize , maximize buttons of child form. there should close button.

note : disable maximize , minimize buttons property window. didn't work.

try this

var f = new form(); f.minimizebox = false; f.maximizebox = false; f.show(); 

Comments

Popular posts from this blog

php - isset function not working properly -

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -