2018年12月30日
摘要: 建立git源码库 解决方案图解 项目界面截图 阅读全文
posted @ 2018-12-30 18:44 eristjy 阅读(93) 评论(0) 推荐(0) 编辑
  2018年12月28日
摘要: https://stackoverflow.com/questions/1187444/drag-and-drop-virtual-files-using-istream https://docs.microsoft.com/zh-cn/windows/desktop/shell/datascena 阅读全文
posted @ 2018-12-28 20:34 eristjy 阅读(215) 评论(0) 推荐(0) 编辑
  2018年12月23日
摘要: <!-- 指示该应用程序可以感知 DPI 且 Windows 在 DPI 较高时将不会对其进行 自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI,无需 选择加入。选择加入此设置的 Windows 窗体应用程序(目标设定为 .NET Fram 阅读全文
posted @ 2018-12-23 09:39 eristjy 阅读(804) 评论(0) 推荐(0) 编辑
  2018年12月19日
摘要: m_Read = Semaphore.OpenExisting(spname); 用过之后要记得关闭 否则内存泄漏 m_Read.Close(); 要想 服务进程 之间交互 使用 Global\\Erist.Remote.ShareMemory 全局对象 阅读全文
posted @ 2018-12-19 12:46 eristjy 阅读(123) 评论(0) 推荐(0) 编辑
摘要: public void SetCursor(Bitmap cursor, Point hotPoint)//移动自定义光标的图象位置,使他在0 0点起作用 { try { int hotX = hotPoint.X; int hotY = hotPoint.Y; Bitmap myNewCursor 阅读全文
posted @ 2018-12-19 09:30 eristjy 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 1 Bitmap CaptureCursor(ref Point position) { CURSORINFO cursorInfo = new CURSORINFO(); cursorInfo.cbSize = Marshal.SizeOf(cursorInfo); if (!GetCursorInfo(out cursorInfo)) return null; if (cursorInfo.... 阅读全文
posted @ 2018-12-19 09:22 eristjy 阅读(171) 评论(0) 推荐(0) 编辑
  2018年12月13日
摘要: [DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reservedValue); c#自带的Ping,using System. 阅读全文
posted @ 2018-12-13 10:50 eristjy 阅读(107) 评论(0) 推荐(0) 编辑
  2018年12月11日
摘要: Note that most *Async methods (with corresponding *Completed events) are using the Event-Based Asynchronous Pattern. The older (but still perfectly va 阅读全文
posted @ 2018-12-11 14:33 eristjy 阅读(634) 评论(0) 推荐(0) 编辑
  2018年12月7日
摘要: ON_WM_RENDERFORMAT() MFC 消息映射 afx_msg void OnRenderFormat(UINT); BEGIN_MESSAGE_MAP(CMFCApplication2Dlg, CDialogEx) ON_WM_RENDERFORMAT() END_MESSAGE_MA 阅读全文
posted @ 2018-12-07 16:08 eristjy 阅读(494) 评论(0) 推荐(0) 编辑
  2018年12月4日
摘要: [DllImport("user32.dll", SetLastError = true)] public static extern bool GetUserObjectInformation(IntPtr hObj, int nIndex, [MarshalAs(UnmanagedType.LP 阅读全文
posted @ 2018-12-04 18:27 eristjy 阅读(326) 评论(0) 推荐(0) 编辑