摘要: Microsoft.Win32.SystemEvents.SessionSwitch += new Microsoft.Win32.SessionSwitchEventHandler(SystemEvents_SessionSwitch);void SystemEvents_SessionSwitch(object sender, Microsoft.Win32.SessionSwitchEventArgs e){ if (e.Reason == Microsoft.Win32.SessionSwitchReason.SessionLock) { // 屏幕锁定 } else ... 阅读全文
posted @ 2012-07-01 21:45 孤獨龍 阅读(624) 评论(0) 推荐(0) 编辑