完全停用系统事件? [英] Deactivate system events completely?
本文介绍了完全停用系统事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
是否可以停用所有或任何系统活动?
我尝试过:
我试图在网上找到一些东西,但没有运气!
Hi guys,
Is it possible to deactivate all or any of system events?
What I have tried:
I tried to find something on the net, but no luck!
推荐答案
Quote:
是否可以停用所有或任何系统事件?
Is it possible to deactivate all or any of system events?
'停用'是一个坏主意。
操作系统处理系统事件,但不要停用它们。系统事件在这里有充分的理由,只是去激活它们很奇怪。
我怀疑你试图解决另一个你应该解释的问题。
解释根问题,可能存在另一种解决方案。
'Desactivate' is a bad idea.
The OS handles system events, but don't 'Desactivate' them. System events are here for a good reason, just desactivate them is weird.
I suspect you try to do this as a solution to another problem that you should explain.
Explain the root problem, another solution may exist.
这取决于停用系统事件的确切含义。
面值,不可以关闭系统事件的发生。
但是,你可以订阅他们。如果您没有事件处理程序,则在引发事件时代码中没有任何操作。
That depends on exactly what you mean by "deactivate a system event".
At face value, no it's not possible to turn off the raising of a system event.
You can, however, just not subscribe to the them. If you don't have a handler for the event, nothing happens in your code when the event is raised.
这篇关于完全停用系统事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文