Greetings,
I have a simple winform application of which I want to remove the minimize, maximize and close buttons but I want to keep the top bar so people can keep moving the application.
I've been searching for some hooks to do this but sadly I havn't found anythin开发者_如何学运维g yet. Does anyone know if this is possible ?
Simply set ControlBox
to false:
ControlBox = false;
Make sure your form still has a title so that the title bar shows in full.
Set the ControlBox Property for the window to false.
精彩评论