压缩包包括Visual Assist X (VA_X)插件以及破解工具,插件为.exe格式,在自动识别机器的vs版本,安装后vs自动加载该插件,直接使用即可,非常方便。适用于Vs2008与vs2010.其他版本未测试。可解决vs2008大括号、中括号和小括号不高亮的问题。可提高工作效率
2024-01-16 15:41:43 10.34MB tool
1
完整版
2024-01-04 01:48:26 7.14MB MFC,VS2010
1
VS2010通过C#来控制PPT的控制,上一页,下一页的控制
2023-12-23 05:02:37 89KB VS2010 PPT
1
2000.80.2039的ntwdblib.dll,用于PHP连接MSSQL2008的驱动。解压后将DLL复制到system32下,并重启web服务即可。
2023-12-20 09:07:54 108KB sql2008 2039 ntwdblib.dll
1
sqlite 数据库操作C# 工具类及使用实例 vs2010编写
2023-12-13 05:02:25 67KB C#  sqlite vs2010
1
VS2010 C++学习(2):BMP图像文件的结构分析、反色处理、平滑处理代码
2023-12-06 08:01:13 1.65MB VS2010 图像处理
1
VS2010 C++学习(1):滚动条的设计总结程序
2023-12-06 08:00:46 203KB VS2010
1
很清楚的解释了接口与抽象类,和类的组织结构。
2023-12-03 05:01:20 48KB 接口 抽象类
1
using System; using System.Runtime.InteropServices; using System.Reflection; using System.Windows.Forms; namespace KeyboardHook { public enum KeyboardEvents { KeyDown = 0x0100, KeyUp = 0x0101, SystemKeyDown = 0x0104, SystemKeyUp = 0x0105 } [StructLayout(LayoutKind.Sequential)] public struct KeyboardHookStruct { public int vkCode; //表示一个在1到254间的虚似键盘码 public int scanCode; //表示硬件扫描码 public int flags; public int time; public int dwExtraInfo; } public delegate void KeyboardEventHandler(KeyboardEvents keyEvent, System.Windows.Forms.Keys key); public class Hook { public event KeyboardEventHandler KeyboardEvent; public enum HookType { WH_JOURNALRECORD = 0, WH_JOURNALPLAYBACK = 1, WH_KEYBOARD = 2, WH_GETMESSAGE = 3, WH_CALLWNDPROC = 4, WH_CBT = 5, WH_SYSMSGFILTER = 6, WH_MOUSE = 7, WH_HARDWARE = 8, WH_DEBUG = 9, WH_SHELL = 10, WH_FOREGROUNDIDLE = 11, WH_CALLWNDPROCRET = 12, WH_KEYBOARD_LL = 13, WH_MOUSE_LL = 14, WH_MSGFILTER = -1, } public delegate IntPtr HookProc(int code, int wParam, IntPtr lParam); [DllImport("User32.dll", CharSet = CharSet.Auto)] public static extern IntPtr SetWindowsHookEx(HookType hookType, HookProc hook, IntPtr instance, int threadID); [DllImport("User32.dll", CharSet = CharSet.Auto)] public static extern IntPtr CallNextHookEx(IntPtr hookHandle, int code, int wParam, IntPtr lParam); [DllImport("User32.dll", CharSet = CharSet.Auto)] public static extern bool UnhookWindowsHookEx(IntPtr hookHandle); private IntPtr instance; private IntPtr hookHandle; private int threadID; private HookProc hookProcEx; public Hook() { this.instance = Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()[0]); this.threadID = 0; hookHandle = IntPtr.Zero; hookProcEx = new HookProc(hookProc); } public bool SetHook() { this.hookHandle = SetWindowsHookEx(HookType.WH_KEYBOARD_LL, hookProcEx, this.instance, this.threadID); return ((int)hookHandle != 0); } public IntPtr hookProc(int code, int wParam, IntPtr lParam) { if (code >= 0) { KeyboardEvents kEvent = (KeyboardEvents)wParam; if (kEvent != KeyboardEvents.KeyDown && kEvent != KeyboardEvents.KeyUp && kEvent != KeyboardEvents.SystemKeyDown && kEvent != KeyboardEvents.SystemKeyUp) { return CallNextHookEx(this.hookHandle, (int)HookType.WH_KEYBOARD_LL, wParam, lParam); } KeyboardHookStruct MyKey = new KeyboardHookStruct(); Type t = MyKey.GetType(); MyKey = (KeyboardHookStruct)Marshal.PtrToStructure(lParam, t); Keys keyData = (Keys)MyKey.vkCode; KeyboardEvent(kEvent, keyData); } return CallNextHookEx(this.hookHandle, (int)HookType.WH_KEYBOARD_LL, wParam, lParam); } public bool UnHook() { return Hook.UnhookWindowsHookEx(this.hookHandle); } } }
2023-11-30 05:06:49 70KB 键盘钩子
1
一个用来计时的C#程序,用于演讲时给予选手时间的提示。所用.net framework 4.0框架
2023-11-27 05:05:10 2.49MB
1