【例子介绍】基于全局的C#键盘,鼠标钩子类库,示例
国外软件,对于键盘,鼠标钩子做了封装,可以直接调用,有类库和示例源代码。有了它,做鼠标的全局事件就只要二行代码了!分vs2005和vs2008二个项目
【相关图片】
【源码结构】
.
├── CeRasCall.suo
├── 5t6t网_C#键盘鼠标钩子程序.rar
└── 基于全局的C#键盘鼠标钩子程序
├── MouseKeyboardLib2005.zip
├── MouseKeyboardLib2008.zip
└── MouseKeyboardLibrary
├── GlobalMacroRecorder
│ ├── GlobalMacroRecorder.csproj
│ ├── Macro.cs
│ ├── MacroForm.Designer.cs
│ ├── MacroForm.cs
│ ├── MacroForm.resx
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── bin
│ │ └── Debug
│ │ ├── GlobalMacroRecorder.exe
│ │ ├── GlobalMacroRecorder.pdb
│ │ ├── GlobalMacroRecorder.vshost.exe
│ │ ├── MouseKeyboardLibrary.dll
│ │ └── MouseKeyboardLibrary.pdb
│ └── obj
│ └── Debug
│ ├── GlobalMacroRecorder.MacroForm.resources
│ ├── GlobalMacroRecorder.Properties.Resources.resources
│ ├── GlobalMacroRecorder.csproj.FileListAbsolute.txt
│ ├── GlobalMacroRecorder.csproj.GenerateResource.Cache
│ ├── GlobalMacroRecorder.exe
│ ├── GlobalMacroRecorder.pdb
│ ├── Refactor
│ └── TempPE
├── MouseKeyboardLibrary
│ ├── GlobalHook.cs
│ ├── Keyboard.cs
│ ├── KeyboardHook.cs
│ ├── KeyboardSimulator.cs
│ ├── Mouse.cs
│ ├── MouseHook.cs
│ ├── MouseKeyboardLibrary.csproj
│ ├── MouseSimulator.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── bin
│ │ └── Debug
│ │ ├── MouseKeyboardLibrary.dll
│ │ └── MouseKeyboardLibrary.pdb
│ └── obj
│ └── Debug
│ ├── MouseKeyboardLibrary.csproj.FileListAbsolute.txt
│ ├── MouseKeyboardLibrary.dll
│ ├── MouseKeyboardLibrary.pdb
│ ├── Refactor
│ │ └── MouseKeyboardLibrary.dll
│ └── TempPE
├── MouseKeyboardLibrary.sln
├── MouseKeyboardLibrary.suo
└── SampleApplication
├── HookSampleApplication.csproj
├── HookTestForm.Designer.cs
├── HookTestForm.cs
├── HookTestForm.resx
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── bin
│ └── Debug
│ ├── MouseKeyboardLibrary.dll
│ ├── MouseKeyboardLibrary.pdb
│ ├── SampleApplication.exe
│ ├── SampleApplication.pdb
│ ├── SampleApplication.vshost.exe
│ └── SampleApplication.vshost.exe.manifest
└── obj
└── Debug
├── HookSampleApplication.csproj.FileListAbsolute.txt
├── HookSampleApplication.csproj.GenerateResource.Cache
├── Refactor
├── ResolveAssemblyReference.cache
├── SampleApplication.HookTestForm.resources
├── SampleApplication.Properties.Resources.resources
├── SampleApplication.TestForm.resources
├── SampleApplication.csproj.FileListAbsolute.txt
├── SampleApplication.csproj.GenerateResource.Cache
├── SampleApplication.exe
├── SampleApplication.pdb
└── TempPE
26 directories, 69 files
评论