嘿需要帮助关闭表格 [英] hey need help closing a form

查看:71
本文介绍了嘿需要帮助关闭表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家,我需要帮助才能关闭表格

\this.close(); - 只隐藏表格

我希望它完全关闭它我记得它就像

this.aplication.close();类似的东西?

解决方案

如果你想关闭整个应用程序,那么你可能需要

 Application.Exit(); 



否则关闭表单是用

  .Close(); 


hi all i need help on closing a form
\this.close(); - only hides the form
i want it 2 close it completely i remember it was something like
this.aplication.close(); something like that?

解决方案

If you mean to close the entire application, then you probably need

Application.Exit();


otherwise closing a form is done with

this.Close();


这篇关于嘿需要帮助关闭表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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