屏幕保护程序是否打开? [英] Is Screen Saver On?

查看:91
本文介绍了屏幕保护程序是否打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否知道如何检查Screensaver是否在VB.Net中运行?我想要它,以便我的程序不会执行任何操作.我想这样使用它:

Do any of you know how to check if the Screensaver is running in VB.Net? I want it so that my program won''t do an action if it is. I would like to use it like this:

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
if Not ScreenSaver.Running then
Events
end if
End Sub



我已经尝试过Google搜索,但是似乎找不到任何东西.我发现了几件事,但它们只是指向已删除内容的链接.

我很感谢您的帮助!



I have tried Googleing it, but I can''t seem to find anything. I found a couple things, but they were just links to removed stuff.

I would appreciate your Help!

推荐答案

如果遇到编程问题,我通常会尝试
If I have a programming problem, I usually try this[^] before asking for help.


这篇关于屏幕保护程序是否打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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