private void Form1_FormClosed(object sender, FormClosedEventArgs e) { //注消热键(句柄,热键ID) Hotkey.UnRegist(this.Handle, ScreenCapture); }
protected override void WndProc(ref Message m) { base.WndProc(ref m); Hotkey.ProcessHotKey(m); }