如何更改Windows窗体退出按钮的行为 [英] How to Change windows form exit button behaviour

查看:93
本文介绍了如何更改Windows窗体退出按钮的行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们.
我想知道如何更改Windows窗体退出按钮的行为.
我想为此默认按钮编写代码.
如果无法说我怎么不显示退出按钮和全屏按钮,而是显示最小化的按钮.

HI Guys.
I want to know how can i change windows form exit button behaviour.
i want to make a code for this defaul button.
if its not possible say me how can i dont show exit button & fullscreen button but show minimized button.

推荐答案



检查在表单上禁用关闭按钮 [ http://stackoverflow.com/questions/2272019/how-to-display-a-windows-form-in-full-screen-on-top-of-the-taskbar [
Hi,

Check Disabling Close Button on Forms[^]

this way you can disable close button.

check http://stackoverflow.com/questions/2272019/how-to-display-a-windows-form-in-full-screen-on-top-of-the-taskbar[^] for full screen mode.

Even i don''t know answers, but searching in google gives you most of the answer.

hope it helps you.


这篇关于如何更改Windows窗体退出按钮的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆