很好的免费C#反汇编工具ILSpycn_Ha,自由开源免费,含源码。
2023-12-01 05:01:23 8.86MB C#反汇编工具
1
Winform窗体设计器,基于C#源码实现,界面仿VisualStudio,这个窗体设计器可显示出制作窗体上一些必备元素的属性信息源码也是可以编译的。没有使用微软Runtime FormDesigner技术
2023-11-30 12:21:26 27KB 窗体设计器
1
称重系统,过磅软件,地磅程序,c#源码
2023-11-30 08:56:19 235KB
1
一款很好的KTV点歌系统 欢迎大家学习 一次借鉴 谢谢
2023-11-30 05:07:08 1.68MB 欢迎指导
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
里面包含视频教程,包你学会!学不会找我!QQ:233216039!
2023-11-30 05:06:05 7.88MB
1
C#使用WMI获取主机型号、序列号,硬盘型号、序列号、容量,内存容量,MAC地址、IP地址、网关地址。
1
C#编写的文件校验码查看器,将文件拖入窗口即可计算,校验算法包括MD5、SHA1、SHA256、SHA384、SHA512、CRC32。
2023-11-30 05:04:18 89KB
1
C# 源码 EXCEL导入到Dataset,Dataset导出到Excel
2023-11-30 05:03:57 46KB Excel 导入导出
1
C# 简单方便地生成Excel,不需调用Office 组件,可提供: 1.单元格合并、分组、添加字体样式、设置单元格行高、列宽 2.插入图片、设置背景色、边框颜色 3.统计数据、多表统计 4.设置显示格式(自动适应单元格大小、左对齐、居中、右对齐....)、初始选定区域、打印格式 5.在表格内自定义绘制图形、添加自定义注释标签 6.添加并设置单元格的下拉列表显示 另外,能够非常方便的在WEB中动态生成Excel并下载
2023-11-30 05:03:17 2.99MB 生成Excel 插入图片
1