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.
加载中,请稍侯......
精彩评论