C# Winform添加全局快捷键(老板键)
摘要:
using System;using System.Collections.Generic;using System.Runtime.InteropServices;using System.Windows.Forms;namespace drmaple{ class HotKey { //如果函数执行成功,返回值不为0。 //如果函数执行失败,返回值为0。要得到扩展错误信息,调用GetLastError。 [DllImport("user32.dll", SetLastError = true)] public static... 阅读全文
posted @ 2014-01-07 21:42 鹿我所录 阅读(3039) 评论(0) 推荐(2) 编辑