应用仍然在流程中 [英] App remains in processes

查看:72
本文介绍了应用仍然在流程中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我有一个winform应用程序。当这个应用程序关闭时,它仍然位于任务管理器中的''Processes''

下。有什么问题,如何确保应用完全关闭
并释放所有资源?


谢谢


问候

Hi

I have a winform app. When this app is closed it remains under ''Processes''
in Task Manager. What is the problem and how can I ensure that app closes
completely and releases all resources?

Thanks

Regards

推荐答案

使用结束和结束。关键字。

-

David Streeter

Synchrotech软件

悉尼澳大利亚

"约翰"写道:
Use the "End" keyword.
--
David Streeter
Synchrotech Software
Sydney Australia
"John" wrote:




我有一个winform应用程序。当这个应用程序关闭时,它仍然位于任务管理器中的''Processes''

下。有什么问题,如何确保应用完全关闭
并释放所有资源?


谢谢


问候
Hi

I have a winform app. When this app is closed it remains under ''Processes''
in Task Manager. What is the problem and how can I ensure that app closes
completely and releases all resources?

Thanks

Regards


On Tue,2008年7月22日04:47:03 +0100,John写道:
On Tue, 22 Jul 2008 04:47:03 +0100, John wrote:

我有一个winform应用程序。当这个应用程序关闭时,它仍然位于任务管理器中的进程下。有什么问题,如何确保应用程序完全关闭并释放所有资源?

I have a winform app. When this app is closed it remains under
''Processes'' in Task Manager. What is the problem and how can I ensure
that app closes completely and releases all resources?



当我有一个监听端口传入

数据的线程时,我遇到了这个问题。我将''Environment.Exit(0);''添加到Program.cs以关闭任何

线程。


Ken

I had that problem when I had a thread that monitored a port for incoming
data. I added ''Environment.Exit(0);'' to Program.cs to close off any
threads.

Ken


您好


我点击

右上角的十字架关闭应用程序主窗口。我应该在哪里使用End?


谢谢


问候


" SurturZ" < su ***** @ newsgroup.nospamwrote in message

news:32 ************************* ********* @ microsof t.com ...
Hi

I am closing the app by clicking the cross on the top right corner of the
main window. Where should I use End?

Thanks

Regards

"SurturZ" <su*****@newsgroup.nospamwrote in message
news:32**********************************@microsof t.com...

使用结束和结束关键字。

-

David Streeter

Synchrotech软件

悉尼澳大利亚


" John"写道:
Use the "End" keyword.
--
David Streeter
Synchrotech Software
Sydney Australia
"John" wrote:

>嗨

我有一个winform应用程序。当这个应用程序关闭时,它仍然位于任务管理器中的进程状态下。问题是什么?如何确保应用程序完全关闭并释放所有资源?

感谢

问候
>Hi

I have a winform app. When this app is closed it remains under
''Processes''
in Task Manager. What is the problem and how can I ensure that app closes
completely and releases all resources?

Thanks

Regards



这篇关于应用仍然在流程中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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