摘要:
m_Read = Semaphore.OpenExisting(spname); 用过之后要记得关闭 否则内存泄漏 m_Read.Close(); 要想 服务进程 之间交互 使用 Global\\Erist.Remote.ShareMemory 全局对象 阅读全文
摘要:
public void SetCursor(Bitmap cursor, Point hotPoint)//移动自定义光标的图象位置,使他在0 0点起作用 { try { int hotX = hotPoint.X; int hotY = hotPoint.Y; Bitmap myNewCursor 阅读全文
摘要:
1 Bitmap CaptureCursor(ref Point position) { CURSORINFO cursorInfo = new CURSORINFO(); cursorInfo.cbSize = Marshal.SizeOf(cursorInfo); if (!GetCursorInfo(out cursorInfo)) return null; if (cursorInfo.... 阅读全文