开发者

How can i show MinimizeBox without MaximizeBox?

How 开发者_JAVA技巧can i show the MinimizeBox without the MaximizeBox.


You cannot hide them. The Form has two properties called MinimizeBox and MaximizeBox, set false which you do not need.

To stop the form closing, handle the FormClosing event, and set e.Cancel = true; in there and after that, set WindowState = FormWindowState.Minimized;, to minimize the form.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜