using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace WindowsApplication1 { public partial
#region 锁屏 public struct LASTINPUTINFO { [MarshalAs(UnmanagedType.U4)] public int cbSize; [MarshalAs(UnmanagedType.U4)] public uint dwTime; } [DllImport("user32.dll")] public static extern bool GetLastInputInfo(ref LASTINPUTINFO plii); public lo
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace Share { public class TimeExit { //单例模式 private static readonly TimeExit m_TimeExit = new TimeExit(); public static TimeExit In