08 2011 档案
C# WinForm中的快捷键实现方法
摘要:1. 声明系统API: [DllImport("user32.dll", EntryPoint = "RegisterHotKey", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern bool RegisterHotKey(IntPtr hWnd, int id, int fsModifiers, int vlc); [DllImpo 阅读全文
posted @ 2011-08-13 17:21 赵保龙 阅读(362) 评论(0) 推荐(0)