SetCapture() 개인적인 메소드

private SetCapture ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
리턴 System.IntPtr
예제 #1
0
 void MouseButtonDown(Point screenLocation)
 {
     if (!_linkClientRect.Contains(PointToClient(screenLocation)))
     {
         _captured = true;
         Win32Helper.SetCapture(Handle);
         _mouseDownScreenLocation = screenLocation;
         _mouseDownFormLocation   = new Point(_currentLeft, _currentTop);
     }
 }