少量用户需要在保留最大化和最小化按钮的同时,禁用关闭按钮,可以在窗口的AfterLoad事件中加入一行代码即可:
RemoveXButton(e.Form.BaseForm.Handle)
RemoveXButton方法一直就有的,所以上面的代码对任何版本的Foxtbale有效。
加入到帮助中吧。