停止用户使用任务管理器关闭Windows应用程序 [英] stop user to close windows application using task manager

查看:83
本文介绍了停止用户使用任务管理器关闭Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#创建Windows应用程序.当用户登录到系统时,该应用程序将运行.此应用程序将在任务栏中运行以执行某些功能,并基于该功能向用户显示应用程序表单(基于 根据条件).

I am creating a windows application using C#. This application runs when user logged in to the system. This application will run in task bar for doing some functionality and based on that functionality, application form will be displayed to the user (based on conditions).

要求用户在完成功能之前不能关闭该应用程序.我试图阻止用户使用任务管理器关闭应用程序,但没有成功.

Requirement is that user can not close this application any how until the fulctionality is not completed. I am trying to stop user to close the application using task manager but not getting succeed.

请告知我是否有任何想法,如何阻止用户使用任务管理器关闭应用程序.

Please let me know if anybody have any idea, how can I stop user to close application using task manager.

Zensar Technologies Ltd.Rakesh Kumar

Rakesh Kumar, Zensar technologies Ltd

推荐答案

我正在使用C#创建Windows应用程序.当用户登录到系统时,该应用程序将运行.此应用程序将在任务栏中运行以执行某些功能,并基于该功能向用户显示应用程序表单(基于 根据条件).

I am creating a windows application using C#. This application runs when user logged in to the system. This application will run in task bar for doing some functionality and based on that functionality, application form will be displayed to the user (based on conditions).

要求用户在完成功能之前不能关闭该应用程序.我试图阻止用户使用任务管理器关闭应用程序,但没有成功.

Requirement is that user can not close this application any how until the fulctionality is not completed. I am trying to stop user to close the application using task manager but not getting succeed.

请告知我是否有任何想法,如何阻止用户使用任务管理器关闭应用程序.

Please let me know if anybody have any idea, how can I stop user to close application using task manager.


这篇关于停止用户使用任务管理器关闭Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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