开发者

Hide buttons on top form bar

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜