Application.Exit()vs End [英] Application.Exit() vs End
本文介绍了Application.Exit()vs End的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Application.Exit()和End之间有什么区别吗?
我是否应该使用一个而不是另一个?
Matthew
Is there any difference between Application.Exit() and End?
Are there circumstances when I should use one instead of the other?
Matthew
推荐答案
" Matthew" <涂************* @ alltel.net> schrieb:
"Matthew" <tu*************@alltel.net> schrieb:
Application.Exit()和End之间有什么区别吗?
我是否应该使用一个而不是另一个?
Is there any difference between Application.Exit() and End?
Are there circumstances when I should use one instead of the other?
你应该尽量避免同时使用它们......
-
Herfried K. Wagner [MVP]
< URL:http://dotnet.mvps.org/>
You should try to avoid using both of them...
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
>你应该尽量避免使用它们......
感谢您的评论。我有一个带有退出的上下文菜单。选项。
还有一个我不知道的替代品吗?
另外,假设它是一个或另一个,是否有区别?
谢谢,
Matthew
> You should try to avoid using both of them...
Thanks for the comment. I have a context menu with a "Exit" option. Is
there an alternative that I am not aware of?
Also, assuming it is one or the other, is there a difference?
Thank,
Matthew
那么你应该如何关闭你的申请?
" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道
news:e1 ************** @ TK2MSFTNGP10.phx.gbl ...
So then how should you close your application?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:e1**************@TK2MSFTNGP10.phx.gbl...
" Matthew" <涂************* @ alltel.net> schrieb:
"Matthew" <tu*************@alltel.net> schrieb:
Application.Exit()和End之间有什么区别吗?
我是否应该使用一个而不是另一个?
Is there any difference between Application.Exit() and End?
Are there circumstances when I should use one instead of the other?
-
Herfried K. Wagner [MVP]
< URL:http://dotnet.mvps .org />
You should try to avoid using both of them...
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
这篇关于Application.Exit()vs End的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文