how to easily drag a winform application c# 쉬운 마우스 드래그 폼 이동

[DllImport(“user32.DLL”, EntryPoint = “ReleaseCapture”)] private extern static void ReleaseCapture(); [DllImport(“user32.DLL”, EntryPoint = “SendMessage”)] private extern static void SendMessage(System.IntPtr hWnd, int wMsg, int wParam, int lParam); private const int SYSTEMCOMMAND = 0x112; private const int SC_DRAGMOVE = 0xF012; private void panel_MouseMove(object sender, MouseEventArgs e) { ReleaseCapture(); SendMessage(this.Handle, SYSTEMCOMMAND, SC_DRAGMOVE, 0); } how to easily drag a … how to easily drag a winform application c# 쉬운 마우스 드래그 폼 이동 계속 읽기