Ejemplo n.º 1
0
 public WindowControl GetCapture()
 {
     using (AttachThreadInputScope scope = new AttachThreadInputScope(GetWindowThreadID()))
     {
         return(new WindowControl(User32APIs.GetCapture()));
     }
 }