Пример #1
0
 public static void DragWindow(IntPtr hwnd)
 {
     WinAPI.ReleaseCapture();
     WinAPI.SendMessage(hwnd, Constants.WM_SYSCOMMAND, (IntPtr)(Constants.SC_MOVE + Constants.HTCAPTION), IntPtr.Zero);
 }