无边框窗体的移动(winform/wpf)
摘要:
WinForm 引入命名空间 using System.Runtime.InteropServices;无边框移动 [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bool SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam); public const int WM_SYSCOMMAND = 0x0112; 阅读全文
posted @ 2013-02-20 09:51 王留争 阅读(1117) 评论(0) 推荐(0) 编辑