摘要:
建立git源码库 解决方案图解 项目界面截图 阅读全文
摘要:
https://stackoverflow.com/questions/1187444/drag-and-drop-virtual-files-using-istream https://docs.microsoft.com/zh-cn/windows/desktop/shell/datascena 阅读全文
摘要:
<!-- 指示该应用程序可以感知 DPI 且 Windows 在 DPI 较高时将不会对其进行 自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI,无需 选择加入。选择加入此设置的 Windows 窗体应用程序(目标设定为 .NET Fram 阅读全文
摘要:
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.... 阅读全文
摘要:
[DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reservedValue); c#自带的Ping,using System. 阅读全文
摘要:
Note that most *Async methods (with corresponding *Completed events) are using the Event-Based Asynchronous Pattern. The older (but still perfectly va 阅读全文
摘要:
ON_WM_RENDERFORMAT() MFC 消息映射 afx_msg void OnRenderFormat(UINT); BEGIN_MESSAGE_MAP(CMFCApplication2Dlg, CDialogEx) ON_WM_RENDERFORMAT() END_MESSAGE_MA 阅读全文
摘要:
[DllImport("user32.dll", SetLastError = true)] public static extern bool GetUserObjectInformation(IntPtr hObj, int nIndex, [MarshalAs(UnmanagedType.LP 阅读全文