Beispiel #1
0
 public void FromHwndInternal_ValidHwnd_ReturnsExpected(IntPtr hWnd)
 {
     using (Graphics graphics = Graphics.FromHwnd(hWnd))
     {
         Rectangle expected = Helpers.GetHWndRect(hWnd);
         VerifyGraphics(graphics, expected);
     }
 }